From 546c64815a2409411b017f61e8a05a6c92f3e0f4 Mon Sep 17 00:00:00 2001 From: sadakchap Date: Tue, 20 Apr 2021 16:59:19 +0530 Subject: [PATCH] made expiresAt field readOnly --- src/dashboard/Data/Browser/BrowserTable.react.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dashboard/Data/Browser/BrowserTable.react.js b/src/dashboard/Data/Browser/BrowserTable.react.js index 26a6e56dac..dc1b5bef30 100644 --- a/src/dashboard/Data/Browser/BrowserTable.react.js +++ b/src/dashboard/Data/Browser/BrowserTable.react.js @@ -200,6 +200,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]; let value = obj; if (!this.props.isUnique) {