Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Fix the undefined comparison in patchTask

Tianzhou Chena2a066be6b9b
diff --git a/frontend/src/miragejs/routes/index.js b/frontend/src/miragejs/routes/index.js
index a24b2dcc41..478709e434 100644
--- a/frontend/src/miragejs/routes/index.js
+++ b/frontend/src/miragejs/routes/index.js
@@ -140,7 +140,7 @@ export default function routes() {
}
// Empty string is valid
- if (typeof attrs.content !== undefined) {
+ if (attrs.content !== undefined) {
if (task.content != attrs.content) {
changeList.push({
fieldId: TaskBuiltinFieldId.CONTENT,