From a8ea534f13cc23dfab25c6d856f9d9833dd000ba Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Sat, 14 Jan 2023 17:06:55 +1100
Subject: Add 'imgonly' server query param

Remove script for deleting events in db without images
---
 src/App.vue | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/App.vue')

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');
-- 
cgit v1.2.3

