From 03e2e4d03dc51d64d94d38dfe1c49a2f77de4311 Mon Sep 17 00:00:00 2001 From: Niklas Sombert Date: Tue, 13 Aug 2024 19:53:10 +0200 Subject: [PATCH] Display host action buttons They've gone missing in the upgrade to Vue 3, whoops. --- src/static/talks.js | 2 +- src/templates/host_action.html.j2 | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/static/talks.js b/src/static/talks.js index faba7b5..a7c8eea 100644 --- a/src/static/talks.js +++ b/src/static/talks.js @@ -27,7 +27,7 @@ var talksApp = Vue.createApp({ info_beamer_at_port: null } }, - is_host: false + is_host: document.location.pathname.includes("/host/") } }, computed: { diff --git a/src/templates/host_action.html.j2 b/src/templates/host_action.html.j2 index 174dbae..e299b05 100644 --- a/src/templates/host_action.html.j2 +++ b/src/templates/host_action.html.j2 @@ -81,5 +81,4 @@ - {% endblock %}