[IMP] devtools: Add a button to navigate to the doc

This commit adds a button to the devtools navbar which links
to the documentation.
This commit is contained in:
Julien Carion (juca)
2023-04-12 13:14:56 +02:00
committed by Géry Debongnie
parent b848a83777
commit cca4b4bb8e
13 changed files with 15 additions and 1 deletions
@@ -618,6 +618,10 @@ export const store = reactive({
}
browserInstance.storage.local.set({ owl_devtools_dark_mode: this.settings.darkMode });
},
openDocumentation() {
browserInstance.runtime.sendMessage({ type: "openDoc" });
},
});
// Instantiate the store