File tree Expand file tree Collapse file tree 1 file changed +28
-23
lines changed
Expand file tree Collapse file tree 1 file changed +28
-23
lines changed Original file line number Diff line number Diff line change @@ -603,30 +603,35 @@ export default {
603603 return types
604604 },
605605 fetchState () {
606- const state = []
607- if (this .apiName .indexOf (' listVolumes' ) > - 1 ) {
608- state .push ({
609- id: ' Allocated' ,
610- name: ' label.allocated'
611- })
612- state .push ({
613- id: ' Ready' ,
614- name: ' label.isready'
615- })
616- state .push ({
617- id: ' Destroy' ,
618- name: ' label.destroy'
619- })
620- state .push ({
621- id: ' Expunging' ,
622- name: ' label.expunging'
623- })
624- state .push ({
625- id: ' Expunged' ,
626- name: ' label.expunged'
627- })
606+ if (this .apiName .includes (' listVolumes' )) {
607+ return [
608+ {
609+ id: ' Allocated' ,
610+ name: ' label.allocated'
611+ },
612+ {
613+ id: ' Ready' ,
614+ name: ' label.isready'
615+ },
616+ {
617+ id: ' Destroy' ,
618+ name: ' label.destroy'
619+ },
620+ {
621+ id: ' Expunging' ,
622+ name: ' label.expunging'
623+ },
624+ {
625+ id: ' Expunged' ,
626+ name: ' label.expunged'
627+ },
628+ {
629+ id: ' Migrating' ,
630+ name: ' label.migrating'
631+ }
632+ ]
628633 }
629- return state
634+ return []
630635 },
631636 fetchEntityType () {
632637 const entityType = []
You can’t perform that action at this time.
0 commit comments