Enable editing index names

This commit is contained in:
1ilit
2024-06-07 14:18:05 +03:00
parent 1283f66a86
commit 77bdb77a9e
5 changed files with 55 additions and 7 deletions

View File

@@ -168,6 +168,13 @@ export function getIssues(diagram) {
});
table.indices.forEach((index) => {
if (index.name.trim() === "") {
issues.push(
i18n.t("empty_index_name", {
tableName: table.name,
}),
);
}
if (index.fields.length === 0) {
issues.push(
i18n.t("empty_index", {