Browse Source

refactor(gui-v2): keep loading in navbar static

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3005/head
Pranav C 2 years ago
parent
commit
e1c208d42d
  1. 7
      packages/nc-gui-v2/app.vue

7
packages/nc-gui-v2/app.vue

@ -30,20 +30,21 @@ const toggleSidebar = () => {
<div class="flex-1" /> <div class="flex-1" />
<div class="ml-4 flex justify-center flex-1"> <div class="ml-4 flex justify-center flex-shrink">
<div class="flex items-center gap-2 cursor-pointer nc-noco-brand-icon" @click="navigateTo('/')"> <div class="flex items-center gap-2 cursor-pointer nc-noco-brand-icon" @click="navigateTo('/')">
<img width="35" src="~/assets/img/icons/512x512-trans.png" /> <img width="35" src="~/assets/img/icons/512x512-trans.png" />
<span class="prose-xl">NocoDB</span> <span class="prose-xl">NocoDB</span>
</div> </div>
</div>
<div class="flex-1 text-left">
<div v-show="state.isLoading.value" class="flex items-center gap-2 ml-3"> <div v-show="state.isLoading.value" class="flex items-center gap-2 ml-3">
{{ $t('general.loading') }} {{ $t('general.loading') }}
<mdi-reload :class="{ 'animate-infinite animate-spin': state.isLoading.value }" /> <mdi-reload :class="{ 'animate-infinite animate-spin': state.isLoading.value }" />
</div> </div>
</div> </div>
<div class="flex-1" />
<div class="flex justify-end gap-4"> <div class="flex justify-end gap-4">
<general-language class="mr-3" /> <general-language class="mr-3" />

Loading…
Cancel
Save