feat: move Admin to left hand side menu
This commit is contained in:
@@ -333,12 +333,6 @@ window.windowMixin = {
|
||||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
isAdminUser: function () {
|
||||
return this.g.user?.admin
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
changeColor: function (newValue) {
|
||||
document.body.setAttribute('data-theme', newValue)
|
||||
@@ -348,9 +342,6 @@ window.windowMixin = {
|
||||
this.$q.dark.toggle()
|
||||
this.$q.localStorage.set('lnbits.darkMode', this.$q.dark.isActive)
|
||||
},
|
||||
goToAdminConsole: function () {
|
||||
window.location.href = '/admin?usr=' + this.g.user.id
|
||||
},
|
||||
copyText: function (text, message, position) {
|
||||
var notify = this.$q.notify
|
||||
Quasar.utils.copyToClipboard(text).then(function () {
|
||||
|
||||
Reference in New Issue
Block a user