1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-09 15:55:23 +02:00

refactor(edge/jobs): migrate results table to react [EE-4679] (#10663)

This commit is contained in:
Chaim Lev-Ari 2024-04-08 13:18:59 +03:00 committed by GitHub
parent dc9d7ae3f1
commit d88ef03ddb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 223 additions and 139 deletions

View file

@ -0,0 +1,14 @@
import {
refreshableSettings,
createPersistedStore,
BasicTableSettings,
RefreshableTableSettings,
} from '@@/datatables/types';
interface TableSettings extends BasicTableSettings, RefreshableTableSettings {}
export function createStore(storageKey: string) {
return createPersistedStore<TableSettings>(storageKey, undefined, (set) => ({
...refreshableSettings(set),
}));
}