File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -132,11 +132,11 @@ export default {
132132 boardId : + boardId ,
133133 } ) ;
134134 return columns
135- . filter ( ( column ) => column . id !== "name" )
135+ ? .filter ( ( column ) => column . id !== "name" )
136136 . map ( ( column ) => ( {
137137 label : column . title ,
138138 value : column . id ,
139- } ) ) ;
139+ } ) ) ?? [ ] ;
140140 } ,
141141 } ,
142142 } ,
@@ -385,13 +385,13 @@ export default {
385385
386386 const { boards } = data ;
387387 return boards
388- . filter ( ( { type } ) => type !== constants . BOARD_TYPE . SUB_ITEMS_BOARD )
388+ ? .filter ( ( { type } ) => type !== constants . BOARD_TYPE . SUB_ITEMS_BOARD )
389389 . map ( ( {
390390 id, name,
391391 } ) => ( {
392392 label : name ,
393393 value : id ,
394- } ) ) ;
394+ } ) ) ?? [ ] ;
395395 } ,
396396 async listFolderOptions ( variables ) {
397397 const {
You can’t perform that action at this time.
0 commit comments