fix(dashboard): prevent permission editor dropdown from being always open

This commit is contained in:
Szilárd Dóró
2023-02-22 13:54:31 +01:00
parent 95f62bed07
commit 2cc18dcb51
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
'@nhost/dashboard': patch
---
fix(dashboard): prevent permission editor dropdown from being always open

View File

@@ -213,7 +213,6 @@ export default function RuleValueInput({
freeSolo={!isHasuraInput}
autoSelect={!isHasuraInput}
autoHighlight={isHasuraInput}
open
isOptionEqualToValue={(option, value) => {
if (typeof value === 'string') {
return option.value.toLowerCase() === (value as string).toLowerCase();