make sure style.id is not 0 in saveStyle
This commit is contained in:
parent
77ffd3004d
commit
33fa5693ed
|
@ -226,7 +226,7 @@ function filterStylesInternal({
|
|||
|
||||
|
||||
function saveStyle(style) {
|
||||
const id = Number(style.id) >= 0 ? Number(style.id) : null;
|
||||
const id = Number(style.id) || null;
|
||||
const reason = style.reason;
|
||||
const notify = style.notify !== false;
|
||||
const styleDigest = style.styleDigest;
|
||||
|
|
Loading…
Reference in New Issue
Block a user