Browse Source

chore(gui-v2): lint

pull/2838/head
Wing-Kam Wong 2 years ago
parent
commit
52be7479f4
  1. 9
      packages/nc-gui-v2/components/dashboard/settings/AuditTab.vue
  2. 2
      packages/nc-gui-v2/components/dashboard/settings/UIAcl.vue
  3. 14
      packages/nc-gui-v2/components/dlg/AirtableImport.vue

9
packages/nc-gui-v2/components/dashboard/settings/AuditTab.vue

@ -96,6 +96,13 @@ const columns = [
/> />
</div> </div>
<a-table class="w-full" size="small" :data-source="audits ?? []" :columns="columns" :pagination="false" :loading="isLoading" /> <a-table
class="w-full"
size="small"
:data-source="audits ?? []"
:columns="columns"
:pagination="false"
:loading="isLoading"
/>
</div> </div>
</template> </template>

2
packages/nc-gui-v2/components/dashboard/settings/UIAcl.vue

@ -13,7 +13,7 @@ const toast = useToast()
const roles = $ref<string[]>(['editor', 'commenter', 'viewer']) const roles = $ref<string[]>(['editor', 'commenter', 'viewer'])
let isLoading = $ref(false) let isLoading = $ref(false)
let tables = $ref<any[]>([]) let tables = $ref<any[]>([])
let searchInput = $ref('') const searchInput = $ref('')
const filteredTables = computed(() => const filteredTables = computed(() =>
tables.filter( tables.filter(

14
packages/nc-gui-v2/components/dlg/AirtableImport.vue

@ -240,10 +240,20 @@ onBeforeUnmount(() => {
</div> </div>
<a-form ref="form" :model="syncSource" name="quick-import-airtable-form" layout="horizontal" class="ma-0"> <a-form ref="form" :model="syncSource" name="quick-import-airtable-form" layout="horizontal" class="ma-0">
<a-form-item v-bind="validateInfos['details.apiKey']"> <a-form-item v-bind="validateInfos['details.apiKey']">
<a-input-password v-model:value="syncSource.details.apiKey" class="nc-input-api-key" placeholder="Api Key" size="large" /> <a-input-password
v-model:value="syncSource.details.apiKey"
class="nc-input-api-key"
placeholder="Api Key"
size="large"
/>
</a-form-item> </a-form-item>
<a-form-item v-bind="validateInfos['details.syncSourceUrlOrId']"> <a-form-item v-bind="validateInfos['details.syncSourceUrlOrId']">
<a-input v-model:value="syncSource.details.syncSourceUrlOrId" class="nc-input-shared-base" placeholder="Shared Base ID / URL" size="large" /> <a-input
v-model:value="syncSource.details.syncSourceUrlOrId"
class="nc-input-shared-base"
placeholder="Shared Base ID / URL"
size="large"
/>
</a-form-item> </a-form-item>
<span class="prose-xl font-bold self-center my-4">Advanced Settings</span> <span class="prose-xl font-bold self-center my-4">Advanced Settings</span>
<a-divider class="mt-2 mb-5" /> <a-divider class="mt-2 mb-5" />

Loading…
Cancel
Save