From 85d7d23cb41dfb826e98453148914113686ee46c Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Mon, 2 Oct 2023 12:49:15 -0500 Subject: [PATCH] change `returns null` to `return false` for type consistency --- client/src/components/History/Modals/CopyModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/History/Modals/CopyModal.vue b/client/src/components/History/Modals/CopyModal.vue index 38c0469d40a7..8ba72c7d38c6 100644 --- a/client/src/components/History/Modals/CopyModal.vue +++ b/client/src/components/History/Modals/CopyModal.vue @@ -77,7 +77,7 @@ export default { }, newNameValid() { if (this.userOwnsHistory && this.name == this.history.name) { - return null; + return false; } return this.name.length > 0; },