mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: missing icons on sheet view and elements support for enums.
This commit is contained in:
+1
-1
@@ -465,7 +465,7 @@
|
||||
case 'enum':
|
||||
columnResult = await client.tablesDB.createEnumColumn({
|
||||
...baseParams,
|
||||
elements: []
|
||||
elements: column.elements ?? []
|
||||
});
|
||||
break;
|
||||
default:
|
||||
|
||||
+4
@@ -21,6 +21,7 @@
|
||||
import SpreadsheetContainer from './spreadsheet.svelte';
|
||||
import { onDestroy, onMount } from 'svelte';
|
||||
import { debounce } from '$lib/helpers/debounce';
|
||||
import { columnOptions } from '../columns/store';
|
||||
|
||||
type Mode = 'rows' | 'rows-filtered' | 'indexes';
|
||||
|
||||
@@ -95,6 +96,9 @@
|
||||
...col,
|
||||
width: 180,
|
||||
hide: false,
|
||||
icon: columnOptions.find(
|
||||
(col) => col.type === col?.type
|
||||
)?.icon,
|
||||
...baseColProps
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user