Skip to content

Commit edbea4f

Browse files
committed
Reduce sleep duration during refresh and improve button formatting
1 parent dd0b32a commit edbea4f

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

frontend/src/views/HomeView/components/GroupsController.vue

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const handleRefresh = async () => {
153153
loading.value = true
154154
await ignoredError(kernelApiStore.refreshConfig)
155155
await ignoredError(kernelApiStore.refreshProviderProxies)
156-
await sleep(500)
156+
await sleep(100)
157157
loading.value = false
158158
}
159159
@@ -195,12 +195,19 @@ onActivated(() => {
195195
{{ t('home.controller.sortBy') }}
196196
</Switch>
197197
<Button @click="toggleMoreSettings" type="primary" size="small" class="ml-8"> ... </Button>
198-
<Button @click="expandAll" v-tips="'home.overview.expandAll'" type="text" class="ml-auto">
199-
<Icon icon="expand" />
200-
</Button>
201-
<Button @click="collapseAll" v-tips="'home.overview.collapseAll'" type="text">
202-
<Icon icon="collapse" />
203-
</Button>
198+
<Button
199+
@click="expandAll"
200+
v-tips="'home.overview.expandAll'"
201+
type="text"
202+
icon="expand"
203+
class="ml-auto"
204+
/>
205+
<Button
206+
@click="collapseAll"
207+
v-tips="'home.overview.collapseAll'"
208+
type="text"
209+
icon="collapse"
210+
/>
204211
<Button
205212
@click="handleRefresh"
206213
v-tips="'home.overview.refresh'"

0 commit comments

Comments
 (0)