mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-06 22:26:05 +08:00
add third party storage UI change
Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
@@ -195,7 +195,12 @@ export default {
|
||||
|
||||
return true;
|
||||
},
|
||||
isValidationPassed() {
|
||||
// check if any disk hasDiskError is true
|
||||
const hasError = this.diskRows.some((disk) => disk.hasDiskError === true);
|
||||
|
||||
return !hasError;
|
||||
},
|
||||
showCpuPinningBanner() {
|
||||
if (!this.value.cpuPinningFeatureEnabled) {
|
||||
return false;
|
||||
@@ -489,6 +494,7 @@ export default {
|
||||
:resource="value"
|
||||
:cancel-event="true"
|
||||
:mode="mode"
|
||||
:validation-passed="isValidationPassed"
|
||||
:can-yaml="isSingle ? true : false"
|
||||
:errors="errors"
|
||||
:generate-yaml="generateYaml"
|
||||
|
||||
Reference in New Issue
Block a user