diff --git a/public/js/components/DashboardWidget/Url.js b/public/js/components/DashboardWidget/Url.js index 5493a267f..5817f57aa 100644 --- a/public/js/components/DashboardWidget/Url.js +++ b/public/js/components/DashboardWidget/Url.js @@ -16,6 +16,9 @@ export default { PvAutoComplete: primevue.autocomplete, }, mixins: [AbstractWidget], + inject: [ + "adminMode" + ], data: () => ({ ready: false, bookmark_id: null, @@ -235,13 +238,15 @@ export default { return { bookmarks, tags, actions } }, async mounted() { - await this.actions.fetch(); - this.ready = true; + if (!this.adminMode) { + await this.actions.fetch(); + this.ready = true; + } }, template: /*html*/ `
-
+