mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
chore: add more translation keys (#6715)
This commit is contained in:
committed by
GitHub
parent
21d7a1865c
commit
7005ae2b53
@@ -241,11 +241,11 @@ export const CreateUpdateIssueModalBase: React.FC<IssuesModalProps> = observer((
|
||||
setDescription("<p></p>");
|
||||
setChangesMade(null);
|
||||
return response;
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
setToast({
|
||||
type: TOAST_TYPE.ERROR,
|
||||
title: t("error"),
|
||||
message: t(is_draft_issue ? "draft_creation_failed" : "issue_creation_failed"),
|
||||
message: error?.error ?? t(is_draft_issue ? "draft_creation_failed" : "issue_creation_failed"),
|
||||
});
|
||||
captureIssueEvent({
|
||||
eventName: ISSUE_CREATED,
|
||||
@@ -299,12 +299,12 @@ export const CreateUpdateIssueModalBase: React.FC<IssuesModalProps> = observer((
|
||||
path: pathname,
|
||||
});
|
||||
handleClose();
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
console.error(error);
|
||||
setToast({
|
||||
type: TOAST_TYPE.ERROR,
|
||||
title: t("error"),
|
||||
message: t("issue_could_not_be_updated"),
|
||||
message: error?.error ?? t("issue_could_not_be_updated"),
|
||||
});
|
||||
captureIssueEvent({
|
||||
eventName: ISSUE_UPDATED,
|
||||
|
||||
@@ -38,12 +38,14 @@
|
||||
background-color: rgba(var(--color-background-80));
|
||||
}
|
||||
|
||||
[cmdk-item][aria-disabled="true"], [cmdk-item][data-disabled="true"] {
|
||||
[cmdk-item][aria-disabled="true"],
|
||||
[cmdk-item][data-disabled="true"] {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
[cmdk-item][aria-disabled="true"]:hover, [cmdk-item][data-disabled="true"]:hover {
|
||||
background-color: transparent;
|
||||
[cmdk-item][aria-disabled="true"]:hover,
|
||||
[cmdk-item][data-disabled="true"]:hover {
|
||||
background-color: rgba(var(--color-background-80), 0.7);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user