Skip to content

Commit a39aaad

Browse files
committed
refactor: Update useColumnsIdentities.ts to join array values with commas
1 parent dfaa751 commit a39aaad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/composables/useColumnsIdentities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function processFormat(value: any, format: any) {
4040
if (format && format.type === 'function') {
4141
return eval(format.value);
4242
}
43-
return value;
43+
return Array.isArray(value) ? value?.join(', ') : value;
4444
}
4545

4646
type useColumnsIdentitesReturnType = {

0 commit comments

Comments
 (0)