fix: use Quasar.notify (#2707)
* fix: use Quasar.Notify.create instead of this.$q, had issues when pasting invoice, using the `Quasar` is more consistent
This commit is contained in:
@@ -503,9 +503,8 @@ window.windowMixin = {
|
||||
)
|
||||
},
|
||||
copyText: function (text, message, position) {
|
||||
var notify = this.$q.notify
|
||||
Quasar.copyToClipboard(text).then(function () {
|
||||
notify({
|
||||
Quasar.Notify.create({
|
||||
message: message || 'Copied to clipboard!',
|
||||
position: position || 'bottom'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user