瀏覽代碼

fix(unified-search): Also show local search on apps management

Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/41609/head
Ferdinand Thiessen 2 週之前
父節點
當前提交
dd3dcf3703
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      core/src/views/UnifiedSearch.vue

+ 1
- 1
core/src/views/UnifiedSearch.vue 查看文件

@@ -80,7 +80,7 @@ export default defineComponent({
*/
supportsLocalSearch() {
// TODO: Make this an API
const providerPaths = ['/settings/users', '/apps/files', '/apps/deck']
const providerPaths = ['/settings/users', '/apps/files', '/apps/deck', '/settings/apps']
return providerPaths.some((path) => this.currentLocation.pathname?.includes?.(path))
},
},

Loading…
取消
儲存