File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
core/ui/src/components/domains Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1717 @cancel =" $emit('hide')"
1818 @previousStep =" previousStep"
1919 @nextStep =" nextStep"
20- :isLastStep =" step === 'configuringProvider' "
20+ :isLastStep =" hideButtonIcon "
2121 >
2222 <template slot="title">{{ $t("domains.create_domain") }}</template >
2323 <template slot="content">
@@ -862,6 +862,15 @@ export default {
862862
863863 return info;
864864 },
865+ hideButtonIcon () {
866+ return (
867+ this .step === " volumes" ||
868+ (this .step === " node" &&
869+ this .selectedNode &&
870+ ! this .nodesWithAdditionalStorage .includes (this .selectedNode .id )) ||
871+ this .step === " internalConfig"
872+ );
873+ },
865874 },
866875 watch: {
867876 isShown : function () {
@@ -1112,6 +1121,7 @@ export default {
11121121 this .step = " instance" ;
11131122 break ;
11141123 case " volumes" :
1124+ this .selectedVolume = {}; // reset selected volume when going back to node selection
11151125 this .step = " node" ;
11161126 break ;
11171127 }
You can’t perform that action at this time.
0 commit comments