File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/LiveDevelopment/BrowserScripts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ function RemoteFunctions(config = {}) {
122122 return _moreOptionsHandlers . get ( handlerName ) ;
123123 }
124124 function getAllNodeMoreOptionsHandlers ( ) {
125- return _moreOptionsHandlers . values ( ) ;
125+ return Array . from ( _moreOptionsHandlers . values ( ) ) ;
126126 }
127127
128128 /**
@@ -2240,7 +2240,7 @@ function RemoteFunctions(config = {}) {
22402240 }
22412241
22422242 // Render handler options with ordering support
2243- const handlerOptions = Array . from ( LivePreviewView . getAllNodeMoreOptionsHandlers ( ) )
2243+ const handlerOptions = LivePreviewView . getAllNodeMoreOptionsHandlers ( )
22442244 . map ( ( handler , index ) => {
22452245 if ( ! handler . renderMoreOptions ) {
22462246 return null ;
@@ -2449,7 +2449,7 @@ function RemoteFunctions(config = {}) {
24492449 const shadow = this . body . attachShadow ( { mode : "open" } ) ;
24502450
24512451 // Render handler dropdown items with ordering support
2452- const handlerItems = Array . from ( getAllNodeMoreOptionsHandlers ( ) )
2452+ const handlerItems = getAllNodeMoreOptionsHandlers ( )
24532453 . map ( ( handler , index ) => {
24542454 if ( ! handler . renderDropdownItems ) {
24552455 return null ;
You can’t perform that action at this time.
0 commit comments