diff --git a/src/main.ts b/src/main.ts index cf8af9e..333883f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -170,14 +170,6 @@ export default class gamification extends Plugin { }); - this.addCommand({ - id: 'overview', - name: 'open gamification side overview', - callback: async () => { - this.activateView(); - }, - }); - if (this.mediator.getSettingBoolean('debug')){ this.addRibbonIcon("accessibility", "Crafting", async () => { console.log('Debug Help Funktion accessibility is called') @@ -254,6 +246,11 @@ export default class gamification extends Plugin { this.addRibbonIcon("chevrons-right", "update overview leaf", () => { this.actualizeProfileLeave(); }); + + this.addCommand({ id: 'overview', name: 'open gamification side overview', callback: async () => { + this.activateView(); + }, + }); } if(this.mediator.getSettingNumber('counterMajurityCalcInitial') >= 50){