mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:07:08 +00:00
Listen also to shot events.
We need this because the *_lines event will always fire before any shots have been imported.
This commit is contained in:
@@ -408,7 +408,7 @@ export default {
|
||||
},
|
||||
|
||||
async serverEvent (event) {
|
||||
const subscriptions = ["raw_lines", "final_lines"];
|
||||
const subscriptions = ["raw_lines", "final_lines", "raw_shots", "final_shots"];
|
||||
if (subscriptions.includes(event.channel) && event.payload.pid == this.$route.params.project) {
|
||||
if (!this.loading && !this.queuedReload) {
|
||||
// Do not force a non-cached response if refreshing as a result
|
||||
|
||||
Reference in New Issue
Block a user