admin(ui): fix up SearchableSelect.tsx
This commit is contained in:
parent
f790404845
commit
3971c4499d
7 changed files with 157 additions and 58 deletions
|
@ -48,7 +48,7 @@ const NodeEditContainer = () => {
|
|||
useEffect(() => {
|
||||
clearFlashes('node');
|
||||
|
||||
getNode(Number(match.params?.id))
|
||||
getNode(Number(match.params?.id), [ 'database_host', 'location' ])
|
||||
.then(node => setNode(node))
|
||||
.catch(error => {
|
||||
console.error(error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue