Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

chore: code formatting and style cleanup

Pranav Cc5dcdfc2627b
diff --git a/packages/nc-gui/composables/useLTARStore.ts b/packages/nc-gui/composables/useLTARStore.ts
index b437e8db91..94ace6a8c9 100644
--- a/packages/nc-gui/composables/useLTARStore.ts
+++ b/packages/nc-gui/composables/useLTARStore.ts
@@ -117,9 +117,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
const colOptions = computed(() => column.value?.colOptions as LinkToAnotherRecordType)
- const type = computed(() =>
- isLinkV2(column.value) ? 'ln' : (colOptions.value?.type as RelationTypes)
- )
+ const type = computed(() => (isLinkV2(column.value) ? 'ln' : (colOptions.value?.type as RelationTypes)))
const isSingleTargetRelation = computed(() => {
return (
@@ -556,9 +554,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
// compare all keys and values
childrenExcludedList.value.list.forEach((row: any, index: number) => {
const found = (
- isSingleTargetRelation.value
- ? [activeState[column.value.title]]
- : activeState[column.value.title]
+ isSingleTargetRelation.value ? [activeState[column.value.title]] : activeState[column.value.title]
).find((a: any) => {
let isSame = true