mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 11:06:02 +00:00
open form view detail from grid
This commit is contained in:
@@ -3,7 +3,12 @@ import React from 'react';
|
||||
|
||||
const loadGridConfigFunc = (tabid) => () => {
|
||||
const existing = localStorage.getItem(`tabdata_grid_${tabid}`);
|
||||
if (existing) return JSON.parse(existing);
|
||||
if (existing) {
|
||||
return {
|
||||
...createGridConfig(),
|
||||
...JSON.parse(existing),
|
||||
};
|
||||
}
|
||||
return createGridConfig();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user