1 Fixed the issue where db connection was getting disconnected for dashboard, if network is slow.

2 Fixed publication collection node properties issue which was missed during react node porting.
3 Removed unwanted variable from theme style sheet.
This commit is contained in:
Pradip Parkale
2022-04-05 13:40:22 +05:30
committed by Akshay Joshi
parent 953a9d7fd1
commit 8f8adcf71b
13 changed files with 30 additions and 24 deletions
-1
View File
@@ -93,7 +93,6 @@ export default function(basicSettings) {
stepBg: '#FFFFFF',
stepFg: '#000',
toggleBtnBg: '#000',
colorFg: '#FFFFFF',
emptySpaceBg: '#212121',
}
});
@@ -91,7 +91,6 @@ export default function(basicSettings) {
stepBg: '#FFFFFF',
stepFg: '#000',
toggleBtnBg: '#6B6B6B',
colorFg: '#FFFFFF',
emptySpaceBg: '#010B15',
}
});
-1
View File
@@ -85,7 +85,6 @@ export default function(basicSettings) {
padding: '5px 8px',
},
borderColor: '#dde0e6',
colorFg: '#222222',
loader: {
backgroundColor: fade('#000', 0.65),
color: '#fff',
+3 -9
View File
@@ -381,23 +381,17 @@ export default function PgTable({ columns, data, isSelectRow, caveTable=true, ..
const RenderRow = React.useCallback(
({ index, style }) => {
const row = rows[index];
const [expandComplete, setExpandComplete] = React.useState(null);
const [expandComplete, setExpandComplete] = React.useState(false);
const rowRef = React.useRef() ;
prepareRow(row);
React.useEffect(()=>{
if(expandComplete && !row.isExpanded) {
setExpandComplete(false);
}
}, [row.isExpanded]);
React.useEffect(()=>{
if(rowRef.current) {
if(expandComplete == null) {
if(!expandComplete && rowRef.current.style.height == `${ROW_HEIGHT}px`) {
return;
}
let rowHeight;
rowRef.current.style.height='unset';
rowRef.current.style.height = 'unset';
if(expandComplete) {
rowHeight = rowRef.current.offsetHeight;
} else {
@@ -429,7 +429,11 @@ export default function newConnectionDialogModel(response, sgid, sid, handler, c
&& m.get('server') !== '') {
setTimeout(function() {
if(self_local.options.length) {
m.set('user', self_local.options[0].value);
self_local.options.forEach(user => {
if (user.selected) {
m.set('user', user.value);
}
});
}
}, 10);
return false;