mirror of https://github.com/rancher/dashboard.git
Fix for #3436
This commit is contained in:
parent
d06d3af682
commit
cb498f9944
|
|
@ -416,6 +416,10 @@ export const getters = {
|
|||
};
|
||||
|
||||
return (schemaOrType) => {
|
||||
if (!schemaOrType) {
|
||||
return {};
|
||||
}
|
||||
|
||||
const type = (typeof schemaOrType === 'object' ? schemaOrType.id : schemaOrType);
|
||||
const found = state.typeOptions.find((entry) => {
|
||||
const re = stringToRegex(entry.match);
|
||||
|
|
|
|||
Loading…
Reference in New Issue