Browse Source

chore(nc-gui): lint

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
0043274b8d
  1. 3
      packages/nc-gui/components/account/UserList.vue
  2. 6
      packages/nc-gui/composables/useExpandedFormStore.ts

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

@ -1,9 +1,8 @@
<script lang="ts" setup>
import { Modal, message } from 'ant-design-vue'
import type { RequestParams, UserType } from 'nocodb-sdk'
import type { OrgUserReqType, RequestParams, UserType } from 'nocodb-sdk'
import { Role, extractSdkResponseErrorMsg, useApi, useCopy, useDashboard, useNuxtApp } from '#imports'
import type { User } from '~/lib'
import { OrgUserReqType, UserListType } from 'nocodb-sdk'
const { api, isLoading } = useApi()

6
packages/nc-gui/composables/useExpandedFormStore.ts

@ -98,12 +98,12 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m
commentsAndLogs.value =
(
(await api.utils.commentList({
await api.utils.commentList({
row_id: rowId,
fk_model_id: meta.value.id as string,
comments_only: commentsOnly.value,
})).list
)?.reverse?.() || []
})
).list?.reverse?.() || []
}
const isYou = (email: string) => {

Loading…
Cancel
Save