Change error message
This commit is contained in:
parent
42e86554c8
commit
ec93037241
|
@ -65,7 +65,7 @@ function getInvalidDatasources(
|
||||||
const friendlyTypeName =
|
const friendlyTypeName =
|
||||||
friendlyNameByType[type as keyof typeof friendlyNameByType]
|
friendlyNameByType[type as keyof typeof friendlyNameByType]
|
||||||
result[component._id!] = [
|
result[component._id!] = [
|
||||||
`The ${friendlyTypeName} named "${label}" was removed`,
|
`The ${friendlyTypeName} named "${label}" does not exist`,
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue