mirror of
https://github.com/sasjs/server.git
synced 2026-01-05 05:40:06 +00:00
fix: fileTree api response to include an additional attribute isFolder
This commit is contained in:
@@ -126,7 +126,7 @@ const TreeViewNode = ({
|
||||
: undefined
|
||||
}
|
||||
>
|
||||
{hasChild &&
|
||||
{node.isFolder &&
|
||||
['Add Folder', 'Add File'].map((item) => (
|
||||
<MenuItem key={item}>{item}</MenuItem>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user