- aggiornamento di tante cose...
- generazione Volantini - pagina RIS
This commit is contained in:
@@ -785,7 +785,7 @@ export const useUserStore = defineStore('UserStore', {
|
||||
return tools.getUrlSite() + '/my/' + username;
|
||||
},
|
||||
|
||||
getLinkProfileAndRIS(username: string, qtyris: string, causale: string = ''): string {
|
||||
getLinkProfileAndRIS(circuitsel: string, username: string, qtyris: string, causale: string = ''): string {
|
||||
let myparams = '';
|
||||
if (username === '') username = this.my.username;
|
||||
let mylink = tools.getUrlSite() + '/my/' + username;
|
||||
@@ -799,6 +799,10 @@ export const useUserStore = defineStore('UserStore', {
|
||||
if (myparams) myparams += `&`;
|
||||
myparams += `cd=${tools.convertStringToUrl(causale)}`;
|
||||
}
|
||||
if (circuitsel) {
|
||||
if (myparams) myparams += `&`;
|
||||
myparams += `cs=${tools.convertStringToUrl(circuitsel)}`;
|
||||
}
|
||||
return mylink + (myparams ? '?' + myparams : '');
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user