Skip to content

Commit c0b12e1

Browse files
committed
ui: fix handler for deploy button menu
Fixes issue where launch and stay is not working Signed-off-by: Abhishek Kumar <[email protected]>
1 parent ba0204f commit c0b12e1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

ui/src/views/compute/DeployVM.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@
845845
:deployButtonMenuOptions="deployMenuOptions"
846846
@handle-cancel="() => $router.back()"
847847
@handle-deploy="handleSubmit"
848-
@handle-deploy-menu="handleSubmitAndStay" />
848+
@handle-deploy-menu="(index, e) => handleSubmitAndStay(e)" />
849849
</div>
850850
</a-form>
851851
</a-card>
@@ -860,7 +860,7 @@
860860
:deployButtonMenuOptions="deployMenuOptions"
861861
@handle-cancel="() => $router.back()"
862862
@handle-deploy="handleSubmit"
863-
@handle-deploy-menu="handleSubmitAndStay" />
863+
@handle-deploy-menu="(index, e) => handleSubmitAndStay(e)" />
864864
</template>
865865
</info-card>
866866
</a-affix>

ui/src/views/compute/DeployVnfAppliance.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@
825825
:deployButtonMenuOptions="deployMenuOptions"
826826
@handle-cancel="() => $router.back()"
827827
@handle-deploy="handleSubmit"
828-
@handle-deploy-menu="handleSubmitAndStay" />
828+
@handle-deploy-menu="(index, e) => handleSubmitAndStay(e)" />
829829
</div>
830830
</a-form>
831831
</a-card>
@@ -840,7 +840,7 @@
840840
:deployButtonMenuOptions="deployMenuOptions"
841841
@handle-cancel="() => $router.back()"
842842
@handle-deploy="handleSubmit"
843-
@handle-deploy-menu="handleSubmitAndStay" />
843+
@handle-deploy-menu="(index, e) => handleSubmitAndStay(e)" />
844844
</template>
845845
</info-card>
846846
</a-affix>

ui/src/views/compute/wizard/DeployButtons.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default {
8686
this.$emit('handle-deploy', e)
8787
},
8888
handleMenu (e) {
89-
this.$emit('handle-deploy-menu', e.key - 1)
89+
this.$emit('handle-deploy-menu', e.key - 1, e)
9090
}
9191
}
9292
}

0 commit comments

Comments
 (0)