summaryrefslogtreecommitdiff
path: root/src/client/components/sidebar.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/components/sidebar.vue')
-rw-r--r--src/client/components/sidebar.vue15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/client/components/sidebar.vue b/src/client/components/sidebar.vue
index 723bd85ae9..251f68527a 100644
--- a/src/client/components/sidebar.vue
+++ b/src/client/components/sidebar.vue
@@ -59,7 +59,6 @@ export default defineComponent({
return {
host: host,
showing: false,
- searching: false,
accounts: [],
connection: null,
menuDef: sidebarDef,
@@ -125,19 +124,7 @@ export default defineComponent({
},
search() {
- if (this.searching) return;
-
- os.dialog({
- title: this.$ts.search,
- input: true
- }).then(async ({ canceled, result: query }) => {
- if (canceled || query == null || query === '') return;
-
- this.searching = true;
- search(this, query).finally(() => {
- this.searching = false;
- });
- });
+ search();
},
async openAccountMenu(ev) {