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

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);
});