Skip to content

Commit d828d45

Browse files
authored
feat: change table session storage to in-memory storage (#1518)
1 parent c03f07f commit d828d45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/observability/src/shared/dashboard/widgets/table/table-widget-renderer.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,14 +594,14 @@ export class TableWidgetRendererComponent
594594
private getSessionPreferences(): Observable<TableWidgetSessionPreferences> {
595595
return isNonEmptyString(this.model.getId())
596596
? this.preferenceService
597-
.get<TableWidgetSessionPreferences>(this.model.getId()!, {}, StorageType.Session)
597+
.get<TableWidgetSessionPreferences>(this.model.getId()!, {}, StorageType.InMemory)
598598
.pipe(first())
599599
: of({});
600600
}
601601

602602
private setSessionPreferences(preferences: TableWidgetSessionPreferences): void {
603603
if (isNonEmptyString(this.model.getId())) {
604-
this.preferenceService.set(this.model.getId()!, preferences, StorageType.Session);
604+
this.preferenceService.set(this.model.getId()!, preferences, StorageType.InMemory);
605605
}
606606
}
607607

0 commit comments

Comments
 (0)