Browse Source

fix(nc-gui): incorrect prop name

pull/6954/head
աɨռɢӄաօռɢ 1 year ago
parent
commit
cd2925cd94
  1. 6
      packages/nc-gui/components/smartsheet/expanded-form/Comments.vue

6
packages/nc-gui/components/smartsheet/expanded-form/Comments.vue

@ -5,7 +5,7 @@ import { Icon } from '@iconify/vue'
import { ref, timeAgo, useExpandedFormStoreOrThrow, useGlobal, useRoles, watch } from '#imports' import { ref, timeAgo, useExpandedFormStoreOrThrow, useGlobal, useRoles, watch } from '#imports'
const props = defineProps<{ const props = defineProps<{
isLoading: boolean loading: boolean
}>() }>()
const { loadCommentsAndLogs, commentsAndLogs, saveComment: _saveComment, comment, updateComment } = useExpandedFormStoreOrThrow() const { loadCommentsAndLogs, commentsAndLogs, saveComment: _saveComment, comment, updateComment } = useExpandedFormStoreOrThrow()
@ -16,7 +16,7 @@ const commentsWrapperEl = ref<HTMLDivElement>()
const { user, appInfo } = useGlobal() const { user, appInfo } = useGlobal()
const isExpandedFormLoading = computed(() => props.isLoading) const isExpandedFormLoading = computed(() => props.loading)
const tab = ref<'comments' | 'audits'>('comments') const tab = ref<'comments' | 'audits'>('comments')
@ -341,4 +341,4 @@ watch(commentInputDomRef, () => {
:deep(.green.lighten-4) { :deep(.green.lighten-4) {
@apply bg-green-100 rounded-md !mr-3 !leading-6; @apply bg-green-100 rounded-md !mr-3 !leading-6;
} }
</style> </style>
Loading…
Cancel
Save