Skip to content

Commit c5bea9c

Browse files
committed
Update ServerColumn model to accurately update client-side table data and columns
1 parent ef9c458 commit c5bea9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/models/Models.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ export interface notificationStoreType {
167167

168168
// Table column type for server-side table
169169
export type ServerColumn = {
170-
column: string;
170+
column: string; // column name on client side
171+
key: string; // column name received from the server
171172
exclude?: boolean; // false by default
172173
instructions?: {
173174
missingValues?: { [key: string | number]: string };

0 commit comments

Comments
 (0)