Skip to content

Commit

Permalink
Display host action buttons
Browse files Browse the repository at this point in the history
They've gone missing in the upgrade to Vue 3, whoops.
  • Loading branch information
YtvwlD committed Aug 13, 2024
1 parent 256f389 commit 03e2e4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/static/talks.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var talksApp = Vue.createApp({
info_beamer_at_port: null
}
},
is_host: false
is_host: document.location.pathname.includes("/host/")
}
},
computed: {
Expand Down
1 change: 0 additions & 1 deletion src/templates/host_action.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,4 @@
</div>
</div>
<script type="text/javascript" src="/static/talks.js"></script>
<script type="text/javascript">talksApp.is_host = true;</script>
{% endblock %}

0 comments on commit 03e2e4d

Please sign in to comment.