summaryrefslogtreecommitdiffstats
path: root/src/webapp-old
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-06-30 01:11:35 +0200
committerivarlovlie <git@ivarlovlie.no>2022-06-30 01:11:35 +0200
commit60cea1ac7e9e0b297729f80ae3f144ae3e237aeb (patch)
treeef27a8c44d6bcbd692ae663504f54fcdf806a0f3 /src/webapp-old
parent2f975c41933731d81e570029fb59457399ec6d0d (diff)
downloadbookmark-thing-master.tar.xz
bookmark-thing-master.zip
latest from desktopHEADmaster
Diffstat (limited to 'src/webapp-old')
-rw-r--r--src/webapp-old/src/components/forms/entry-form.svelte7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/webapp-old/src/components/forms/entry-form.svelte b/src/webapp-old/src/components/forms/entry-form.svelte
index a5a4890..0e5b09e 100644
--- a/src/webapp-old/src/components/forms/entry-form.svelte
+++ b/src/webapp-old/src/components/forms/entry-form.svelte
@@ -32,6 +32,8 @@
if (!isFQDN(latest_value)) {
return;
}
+ console.log(latest_value);
+
try {
const http_request = await get_site_report({
url: latest_value,
@@ -100,10 +102,7 @@
},
},
is_valid() {
- const url_is_valid = form.url.validate();
- const tags_is_valid = form.tags.validate();
- const description_is_valid = form.description.validate();
- return url_is_valid && tags_is_valid && description_is_valid;
+ return form.url.validate() && form.tags.validate() && form.description.validate();
},
payload(): IEntryDto {
return {