Make unsupported type error message clearer

environments/review-front-wvff-cfe5gn/deployments/13838
Ciarán Ainsworth 2022-09-26 23:13:26 +00:00 zatwierdzone przez Kasper Seweryn
rodzic 61276ae79b
commit d492e3dd0b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -27,7 +27,7 @@
// Error
let error = reactive({ value: false })
if (!SUPPORTED_TYPES.includes(type)) {
error.value = `Widget improperly configured (bad resource type "${type}").`
error.value = `The embed widget doesn't support this media type: ${type}.`
}
if (id === null || isNaN(+id)) {