Do not refresh sequence list on raw_shots event.

Otherwise, it will get refreshed continuously while
online, which is not great.
This commit is contained in:
D. Berge
2020-10-02 19:30:24 +02:00
parent eb37a6b6c6
commit de2deedfd2

View File

@@ -408,7 +408,7 @@ export default {
},
async serverEvent (event) {
const subscriptions = ["raw_lines", "final_lines", "raw_shots", "final_shots"];
const subscriptions = ["raw_lines", "final_lines", "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