Browse Source

chore(gui): lint

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4134/head
Pranav C 2 years ago
parent
commit
74fda80f8f
  1. 4
      packages/nc-gui/components/account/SignupSettings.vue
  2. 2
      packages/nc-gui/components/account/Token.vue
  3. 2
      packages/nc-gui/components/account/UserList.vue
  4. 3
      packages/nc-gui/pages/account/index.vue

4
packages/nc-gui/components/account/SignupSettings.vue

@ -32,13 +32,13 @@ loadSettings()
<div class="text-xl">Settings</div>
<a-divider class="!my-3" />
<a-form-item>
<a-checkbox class="nc-checkbox" v-model:checked="settings.enable_user_signup" name="virtual"
@change="saveSettings">
<a-checkbox v-model:checked="settings.enable_user_signup" class="nc-checkbox" name="virtual" @change="saveSettings">
Enable user signup
</a-checkbox>
</a-form-item>
</div>
</template>
<style scoped>
:deep(.ant-checkbox-wrapper) {
@apply !flex-row-reverse !flex !justify-start gap-4;

2
packages/nc-gui/components/account/Token.vue

@ -242,9 +242,9 @@ const descriptionInput = ref((el) => {
@finish="generateToken"
>
<a-input
data-cy="nc-token-modal-description"
:ref="descriptionInput"
v-model:value="selectedTokenData.description"
data-cy="nc-token-modal-description"
:placeholder="$t('labels.description')"
/>

2
packages/nc-gui/components/account/UserList.vue

@ -119,7 +119,7 @@ const copyPasswordResetUrl = async (user: User) => {
</script>
<template>
<div data-cy='nc-super-user-list'>
<div data-cy="nc-super-user-list">
<div class="text-xl">User Management</div>
<a-divider class="!my-3" />
<div class="max-w-[900px] mx-auto p-4">

3
packages/nc-gui/pages/account/index.vue

@ -1,12 +1,9 @@
<script lang="ts" setup>
import { navigateTo } from '#imports'
import { useUIPermission } from '~/composables/useUIPermission'
const $route = useRoute()
const selectedTabKeys = computed(() => [$route.params.page])
const { isUIAllowed } = useUIPermission()
</script>
<template>

Loading…
Cancel
Save