Browse Source

chore(nc-gui): remove api loading in kanban

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
fa27393582
  1. 6
      packages/nc-gui/components/smartsheet/Kanban.vue

6
packages/nc-gui/components/smartsheet/Kanban.vue

@ -60,8 +60,6 @@ const { isUIAllowed } = useUIPermission()
const { appInfo } = $(useGlobal()) const { appInfo } = $(useGlobal())
const { isLoading: loading, api } = useApi()
provide(IsFormInj, ref(false)) provide(IsFormInj, ref(false))
provide(IsGalleryInj, ref(false)) provide(IsGalleryInj, ref(false))
provide(IsGridInj, ref(false)) provide(IsGridInj, ref(false))
@ -204,7 +202,6 @@ openNewRecordFormHook?.on(async () => {
</script> </script>
<template> <template>
{{ formattedData.Uncategorized }}
<div class="flex h-full bg-white px-2"> <div class="flex h-full bg-white px-2">
<div class="nc-kanban-container flex my-4 px-3 overflow-x-scroll overflow-y-hidden"> <div class="nc-kanban-container flex my-4 px-3 overflow-x-scroll overflow-y-hidden">
<Draggable <Draggable
@ -382,7 +379,6 @@ openNewRecordFormHook?.on(async () => {
<a-modal <a-modal
v-model:visible="deleteStackVModel" v-model:visible="deleteStackVModel"
class="!top-[35%]" class="!top-[35%]"
:confirm-loading="loading"
wrap-class-name="nc-modal-view-create" wrap-class-name="nc-modal-view-create"
> >
<template #title> <template #title>
@ -396,7 +392,7 @@ openNewRecordFormHook?.on(async () => {
</div> </div>
<template #footer> <template #footer>
<a-button key="back" @click="deleteStackVModel = false">{{ $t('general.cancel') }}</a-button> <a-button key="back" @click="deleteStackVModel = false">{{ $t('general.cancel') }}</a-button>
<a-button key="submit" type="primary" :loading="loading" @click="handleDeleteStackConfirmClick"> <a-button key="submit" type="primary" @click="handleDeleteStackConfirmClick">
{{ $t('general.delete') }} {{ $t('general.delete') }}
</a-button> </a-button>
</template> </template>

Loading…
Cancel
Save