show different error messages and UI reset after failed update
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
This commit is contained in:
committed by
Julius Härtl
parent
f01cd506f7
commit
e5d3c16a80
@@ -153,7 +153,7 @@ class LabelService {
|
||||
throw new BadRequestException('label id must be a number');
|
||||
}
|
||||
|
||||
if ($title === false || $title === null) {
|
||||
if ($title === false || $title === null || $title === "") {
|
||||
throw new BadRequestException('title must be provided');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user