other components...

This commit is contained in:
Paolo Arena
2021-09-04 15:05:34 +02:00
parent 1c3df0fac1
commit fcc4f61f07
110 changed files with 4592 additions and 566 deletions

View File

@@ -3723,13 +3723,15 @@ export const tools = {
return mystr.replace(/\s+/g, '')
},
copyStringToClipboard(mythis: any, mystr: string, show: boolean) {
copyStringToClipboard(mystr: string, show: boolean) {
const $q = useQuasar()
const { t } = useI18n()
copyToClipboard(mystr).then(() => {
let msg = mythis.t('dialog.copyclipboard')
let msg = t('dialog.copyclipboard')
if (show)
msg += ' \'' + mystr + '\''
this.showNotif(mythis.$q, msg)
this.showNotif($q, msg)
})
},