Browse Source

chore(nc-gui): lint

pull/5329/head
Wing-Kam Wong 2 years ago
parent
commit
04ca098e3e
  1. 7
      packages/nc-gui/components/smartsheet/toolbar/ViewActions.vue
  2. 4
      packages/nc-gui/components/tabs/auth/user-management/UsersModal.vue
  3. 16
      packages/nc-gui/components/webhook/Editor.vue

7
packages/nc-gui/components/smartsheet/toolbar/ViewActions.vue

@ -241,7 +241,12 @@ useMenuCloseOnEsc(open)
</a-menu-item>
<a-menu-item>
<div v-if="!isMobileMode" v-e="['c:erd:open']" class="py-2 flex gap-2 items-center nc-view-action-erd" @click="showErd = true">
<div
v-if="!isMobileMode"
v-e="['c:erd:open']"
class="py-2 flex gap-2 items-center nc-view-action-erd"
@click="showErd = true"
>
<MaterialSymbolsAccountTreeRounded class="text-gray-500" />
{{ $t('title.erdView') }}
</div>

4
packages/nc-gui/components/tabs/auth/user-management/UsersModal.vue

@ -185,7 +185,9 @@ watch(
>
<div class="flex flex-col" data-testid="invite-user-and-share-base-modal">
<div class="flex flex-row justify-between items-center pb-1.5 mb-2 border-b-1 w-full">
<a-typography-title v-if="!isMobileMode" class="select-none" :level="4"> {{ $t('activity.share') }}: {{ project.title }} </a-typography-title>
<a-typography-title v-if="!isMobileMode" class="select-none" :level="4">
{{ $t('activity.share') }}: {{ project.title }}
</a-typography-title>
<a-button
type="text"

16
packages/nc-gui/components/webhook/Editor.vue

@ -589,14 +589,14 @@ onMounted(async () => {
</a-tab-pane>
<!-- No in use at this moment -->
<!-- <a-tab-pane key="auth" tab="Auth">-->
<!-- <LazyMonacoEditor v-model="hook.notification.payload.auth" class="min-h-60 max-h-80" />-->
<!-- <span class="text-gray-500 prose-sm p-2">-->
<!-- For more about auth option refer-->
<!-- <a class="prose-sm" href ="https://github.com/axios/axios#request-config" target="_blank">axios docs</a>.-->
<!-- </span>-->
<!-- </a-tab-pane>-->
<!-- <a-tab-pane key="auth" tab="Auth"> -->
<!-- <LazyMonacoEditor v-model="hook.notification.payload.auth" class="min-h-60 max-h-80" /> -->
<!-- <span class="text-gray-500 prose-sm p-2"> -->
<!-- For more about auth option refer -->
<!-- <a class="prose-sm" href ="https://github.com/axios/axios#request-config" target="_blank">axios docs</a>. -->
<!-- </span> -->
<!-- </a-tab-pane> -->
</a-tabs>
</a-col>
</a-row>

Loading…
Cancel
Save