React also on preplot point changes, not just lines

This commit is contained in:
D. Berge
2021-05-17 20:18:33 +02:00
parent 8e71b18225
commit 08d33e293a

View File

@@ -272,7 +272,7 @@ export default {
async serverEvent (event) {
if (event.payload.pid == this.$route.params.project) {
if (event.channel == "preplot_lines") {
if (event.channel == "preplot_lines" || event.channel == "preplot_points") {
if (!this.loading && !this.queuedReload) {
// Do not force a non-cached response if refreshing as a result
// of an event notification. We will assume that the server has