aboutsummaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2023-01-14 17:06:55 +1100
committerTerry Truong <terry06890@gmail.com>2023-01-14 17:06:55 +1100
commita8ea534f13cc23dfab25c6d856f9d9833dd000ba (patch)
tree2bacfd988d29a7359d46a7826b61fb438d36f926 /src/App.vue
parentb5cf828824bcc6a9518ad66e91d91a2eae2ed5e1 (diff)
Add 'imgonly' server query param
Remove script for deleting events in db without images
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index 803b53a..4c2d456 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -249,6 +249,9 @@ async function onEventDisplay(
if (targetEvent != null){
urlParams.append('incl', String(targetEvent.id));
}
+ if (store.reqImgs){
+ urlParams.append('imgonly', 'true');
+ }
let responseObj: EventResponseJson | null = await queryServer(urlParams);
if (responseObj == null){
console.log('WARNING: Server gave null response to event query');