fix: cloned secret should keep originl type (#354)

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee 2025-06-27 15:55:47 +08:00 committed by GitHub
parent 7386a2deb6
commit 1d89aafeab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,6 +84,10 @@ export default {
this.value['_type'] = TYPES.OPAQUE; this.value['_type'] = TYPES.OPAQUE;
} }
if ( this.realMode === _CLONE) {
this.value['_type'] = this.liveValue._type;
}
return { return {
isCloud, isCloud,
nodeDrivers: null, nodeDrivers: null,