mirror of https://github.com/rancher/ui.git
commit
18451bf522
|
|
@ -315,7 +315,7 @@ export default Component.extend({
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
found = store.all('namespacedSecret').findBy('type', secretName);
|
found = store.all('namespacedSecret').findBy('type', secretName);
|
||||||
if ( get(found, 'type') === 'namespacedCertificate' ) {
|
if ( found && get(found, 'type') === 'namespacedCertificate' ) {
|
||||||
return C.VOLUME_TYPES.CERTIFICATE;
|
return C.VOLUME_TYPES.CERTIFICATE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue