Browse Source

fix(nc-gui): user and checkbox

pull/7673/head
DarkPhoenix2704 9 months ago
parent
commit
f6afa14943
  1. 4
      packages/nc-gui/components/smartsheet/calendar/Cell.vue

4
packages/nc-gui/components/smartsheet/calendar/Cell.vue

@ -162,7 +162,7 @@ const getCurrencyValue = (modelValue: string | number | null, col: ColumnType) =
const getUserValue = (modelValue: string | string[] | null | Array<any>) => {
if (!modelValue) {
return 'Invalid User'
return ''
}
const baseUsers = meta?.value.base_id ? basesUser.value.get(meta?.value.base_id) || [] : []
@ -277,7 +277,7 @@ const parseValue = (value: any, col: ColumnType): string => {
return getTextAreaValue(value, col)
}
if (isBoolean(col, abstractType)) {
return getCheckBoxValue(value) ? 'Checked' : 'Un checked'
return getCheckBoxValue(value) ? 'Checked' : 'Unchecked'
}
if (isMultiSelect(col)) {
return getMultiSelectValue(value, col)

Loading…
Cancel
Save