File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -675,6 +675,7 @@ class Extension {
675675 menus : {
676676 list : {
677677 acceptReporters : false ,
678+ variableType : 'list' ,
678679 items : "getLists" ,
679680 } ,
680681 stringifyFormat : {
@@ -774,16 +775,6 @@ class Extension {
774775 }
775776 } ;
776777 }
777-
778- getLists ( ) {
779- const globalLists = Object . values ( vm . runtime . getTargetForStage ( ) . variables )
780- . filter ( ( x ) => x . type == "list" ) ;
781- const localLists = Object . values ( vm . editingTarget . variables )
782- . filter ( ( x ) => x . type == "list" ) ;
783- const uniqueLists = [ ...new Set ( [ ...globalLists , ...localLists ] ) ] ;
784- if ( uniqueLists . length === 0 ) return [ { text : "" , value : "" } ] ;
785- return uniqueLists . map ( ( v ) => ( { text : v . name , value : new jwArray . Type ( v . value ) } ) ) ;
786- }
787778
788779 blank ( ) {
789780 return new jwArray . Type ( [ ] , true )
You can’t perform that action at this time.
0 commit comments