From ca137a7955fa4d8caf7e792f7c22fc83a5f3f470 Mon Sep 17 00:00:00 2001 From: MohammadAli Karimi Date: Wed, 24 Apr 2024 14:38:49 +0400 Subject: [PATCH] fix: change the condition of render SecurityDialog to prevent error of null ref --- src/dashboard/Data/Browser/BrowserToolbar.react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dashboard/Data/Browser/BrowserToolbar.react.js b/src/dashboard/Data/Browser/BrowserToolbar.react.js index b697dd220a..ff3504ad57 100644 --- a/src/dashboard/Data/Browser/BrowserToolbar.react.js +++ b/src/dashboard/Data/Browser/BrowserToolbar.react.js @@ -341,7 +341,7 @@ const BrowserToolbar = ({ disabled={isPendingEditCloneRows} /> {onAddRow &&
} - {perms && enableSecurityDialog ? ( + {enableSecurityDialog ? (