From 28a11605d563a3aa3ada1c4ecd130e7cefbf4135 Mon Sep 17 00:00:00 2001 From: Prerna Mehra Date: Wed, 21 Apr 2021 09:34:39 +0530 Subject: [PATCH] made expiresAt field readOnly (#1686) --- 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) {