Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Check undefined to cope with empty string when updating content
Tianzhou Chen8594816fce58
diff --git a/frontend/src/miragejs/routes/index.js b/frontend/src/miragejs/routes/index.jsindex 3d0b2da452..a24b2dcc41 100644--- a/frontend/src/miragejs/routes/index.js+++ b/frontend/src/miragejs/routes/index.js@@ -139,7 +139,8 @@ export default function routes() {}}- if (attrs.content) {+ // Empty string is valid+ if (typeof attrs.content !== undefined) {if (task.content != attrs.content) {changeList.push({fieldId: TaskBuiltinFieldId.CONTENT,