- {!hideArrow && (
+const PopperTooltip = (props) => {
+ const { children, tooltip, visible, placement } = props;
+ const {
+ getArrowProps,
+ getTooltipProps,
+ setTooltipRef,
+ setTriggerRef
+ } = usePopperTooltip({ placement });
+
+ return (
+ <>
+
{children}
+ {visible && (
+
- )}
- >
- {({getTriggerProps, triggerRef}) => (
-
- {children}
-
- )}
-
-);
+ {tooltip}
+
+ )}
+ >
+ );
+}
export default PopperTooltip;
diff --git a/src/dashboard/Data/Browser/BrowserTable.react.js b/src/dashboard/Data/Browser/BrowserTable.react.js
index 5c4dc35e1a..2fa669c079 100644
--- a/src/dashboard/Data/Browser/BrowserTable.react.js
+++ b/src/dashboard/Data/Browser/BrowserTable.react.js
@@ -256,6 +256,9 @@ export default class BrowserTable extends React.Component {
readonly = true;
}
}
+ if(name === 'expiresAt' && this.props.className === '_Session'){
+ readonly = true;
+ }
let obj = this.props.current.row < 0 ? this.props.newObject : this.props.data[this.props.current.row];
if(!obj && this.props.current.row < -1){
obj = this.props.editCloneRows[this.props.current.row + this.props.editCloneRows.length + 1];