mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 13:16:05 +08:00
refactor: rewrite render logic
Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
This commit is contained in:
@@ -137,7 +137,11 @@ export default {
|
||||
},
|
||||
|
||||
isTpmEnabled(spec) {
|
||||
return !!spec?.template?.spec?.domain?.devices?.tpm ;
|
||||
return !!spec?.template?.spec?.domain?.devices?.tpm;
|
||||
},
|
||||
|
||||
isPersistentStateEnabled(spec) {
|
||||
return !!spec?.template?.spec?.domain?.devices?.tpm?.persistent;
|
||||
},
|
||||
|
||||
isSecureBoot(spec) {
|
||||
|
||||
Reference in New Issue
Block a user