fix: dashboard edit mode renders live widgets
This commit is contained in:
@@ -10,6 +10,10 @@ export type WidgetPlacement = {
|
||||
h: number;
|
||||
};
|
||||
|
||||
export function widgetContentKey(placement: Pick<WidgetPlacement, "widgetId" | "config">): string {
|
||||
return `${placement.widgetId}::${JSON.stringify(placement.config)}`;
|
||||
}
|
||||
|
||||
export type DashboardLayout = {
|
||||
version: 1;
|
||||
widgets: WidgetPlacement[];
|
||||
|
||||
Reference in New Issue
Block a user