mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 02:25:30 +00:00
small annoyances
This commit is contained in:
@@ -457,6 +457,10 @@ export class AlmanachEditPage extends HTMLElement {
|
||||
if (!hasValues) {
|
||||
continue;
|
||||
}
|
||||
// Validate that media field is not empty
|
||||
if (!mediaValue) {
|
||||
throw new Error(`Exemplar ${index + 1}: "Vorhanden als" muss ausgefüllt werden.`);
|
||||
}
|
||||
items.push({
|
||||
id,
|
||||
owner,
|
||||
|
||||
Reference in New Issue
Block a user