Skip to content

Commit 0b681c7

Browse files
committed
KNOWAGE-9902
- prevent breaking bug by chaining conditions
1 parent 0b3425f commit 0b681c7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/modules/documentExecution/documentDetails/tabs/drivers/DocumentDetailsDataConditions.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,9 @@ export default defineComponent({
164164
const index = this.lovs.findIndex((lov) => lov.id === lovId)
165165
if (index > -1) {
166166
const lov = JSON.parse(this.lovs[index].lovProviderJSON)
167-
return lov.QUERY['VISIBLE-COLUMNS'].split(',')
167+
return lov.QUERY?.['VISIBLE-COLUMNS']?.split(',') ?? []
168168
}
169+
return []
169170
},
170171
isModeActive(modeId: number) {
171172
const index = this.selectedModes.findIndex((id: any) => {

0 commit comments

Comments
 (0)