File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,16 @@ const VFolderNodeIdenticon: React.FC<VFolderNodeIdenticonProps> = ({
2626
2727 return (
2828 < img
29+ draggable = { false }
30+ onDragStart = { ( e ) => e . preventDefault ( ) }
2931 style = { {
3032 borderRadius : '0.25em' ,
3133 width : '1em' ,
3234 height : '1em' ,
3335 borderWidth : 0.5 ,
3436 borderStyle : 'solid' ,
3537 borderColor : token . colorBorder ,
38+ userSelect : 'none' ,
3639 ...style ,
3740 } }
3841 src = { createAvatar ( shapes , {
Original file line number Diff line number Diff line change @@ -752,7 +752,7 @@ export default class BackendAIFolderExplorer extends BackendAIPage {
752752 mergedData ?. group ?. allowed_vfolder_hosts || '{}' ,
753753 ) ;
754754 const allowedPermissionForResourcePolicyByVolume = JSON . parse (
755- mergedData ?. keypair_resource_policy . allowed_vfolder_hosts || '{}' ,
755+ mergedData ?. keypair_resource_policy ? .allowed_vfolder_hosts || '{}' ,
756756 ) ;
757757
758758 const _mergeDedupe = ( arr ) => [ ...new Set ( [ ] . concat ( ...arr ) ) ] ;
You can’t perform that action at this time.
0 commit comments