fix: duplicate label creation in project (#5271)

This commit is contained in:
Akshita Goyal 2024-07-30 19:34:40 +05:30 committed by GitHub
parent fffa8648bb
commit 88533933b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,7 +66,7 @@ export const CreateUpdateLabelInline = observer(
setToast({
title: "Error!",
type: TOAST_TYPE.ERROR,
message: error?.detail ?? "Something went wrong. Please try again later.",
message: error?.detail ?? error.error ?? "Something went wrong. Please try again later.",
});
reset(formData);
});