From e6a358fe2701977cd98844f23a4adb6cf04a5a6c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 25 Aug 2024 00:15:54 +0200 Subject: [PATCH] [UI] Added quick `String.hashCode` function. This is needed in several places in the code where we need to compare if two strings differ, but either the strings are too long (e.g. content of large files) or we don't want to pass the original values (e.g. credentials, session tokens etc.). --- .../backend/http/webapp/src/utils/Text.vue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/platypush/backend/http/webapp/src/utils/Text.vue b/platypush/backend/http/webapp/src/utils/Text.vue index bfe7c4dcac..67dfd9d01b 100644 --- a/platypush/backend/http/webapp/src/utils/Text.vue +++ b/platypush/backend/http/webapp/src/utils/Text.vue @@ -1,4 +1,21 @@