Skip to content

Commit

Permalink
fix:import wt-action component, wt-empty position and add style class…
Browse files Browse the repository at this point in the history
  • Loading branch information
Lera24 committed Dec 4, 2024
1 parent 4b4ca7a commit 0a090b0
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<h3 class="table-title__title">
{{ t('lookups.slas.slas') }}
</h3>
<wt-actions-bar
<wt-action-bar
:include="[IconAction.ADD, IconAction.REFRESH, IconAction.DELETE]"
:disabled:add="!hasCreateAccess"
:disabled:delete="!hasDeleteAccess || !selected.length"
Expand All @@ -34,7 +34,7 @@
name="search"
/>
</template>
</wt-actions-bar>
</wt-action-bar>
</header>

<wt-loader v-show="isLoading" />
Expand All @@ -46,15 +46,16 @@
@close="closeDelete"
/>

<wt-empty
v-show="showEmpty"
:image="imageEmpty"
:text="textEmpty"
/>

<div
class="table-wrapper"
class="table-section__table-wrapper"
>

<wt-empty
v-show="showEmpty"
:image="imageEmpty"
:text="textEmpty"
/>

<wt-table-transition v-if="dataList.length && !isLoading">
<wt-table
:data="dataList"
Expand Down Expand Up @@ -111,7 +112,6 @@ import { useRouter } from 'vue-router';
import { useStore } from 'vuex';
import { useClose } from '@webitel/ui-sdk/src/composables/useClose/useClose.js';
import IconAction from '@webitel/ui-sdk/src/enums/IconAction/IconAction.enum.js';
import WtActionsBar from '@webitel/ui-sdk/src/components/wt-action-bar/wt-action-bar.vue';
import { useAccessControl } from '@webitel/ui-sdk/src/composables/useAccessControl/useAccessControl.js';
import WtTableTransition from '@webitel/ui-sdk/src/components/on-demand/wt-table-transition/wt-table-transition.vue';
import CrmSections from '@webitel/ui-sdk/src/enums/WebitelApplications/CrmSections.enum.js';
Expand Down

0 comments on commit 0a090b0

Please sign in to comment.