From adc2b71eb7638c9e73be947e72c4ff00d4e44ce6 Mon Sep 17 00:00:00 2001 From: patrickzerhusen Date: Sun, 19 Apr 2026 16:28:09 +0200 Subject: [PATCH] bugfix users can now only edit and delete own contributions --- public/js/app.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index b3df7f0..3f97e1a 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -401,10 +401,11 @@ function bindFeaturePopup(feature, layer) { ' ' + props.dislikes_count + '' + '' + '' + - '' + + (currentUser === props.author_name ? + '' : '') + ''; layer.bindPopup(html, { maxWidth: 320, minWidth: 240 });