From 1ad27320a740f31cb2ca2f7125d61b53a55d9a0b Mon Sep 17 00:00:00 2001 From: saber-nyan Date: Wed, 22 May 2019 10:26:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BF=D0=BE=D1=8F=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=20=D0=BB=D0=B8=D1=88=D0=BD=D0=B8=D1=85=20=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=B8=D0=BC=D0=BE=D0=B2=20=D0=B8=D0=B7=20WS,=20=D0=B5=D1=81?= =?UTF-8?q?=D0=BB=D0=B8=20=D1=83=D0=BA=D0=B0=D0=B7=D0=B0=D0=BD=20=D0=BF?= =?UTF-8?q?=D0=B0=D1=82=D1=82=D0=B5=D1=80=D0=BD=20=D1=84=D0=B8=D0=BB=D1=8C?= =?UTF-8?q?=D1=82=D1=80=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Sidebar.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 02aae4b..8bf8808 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -141,6 +141,9 @@ export default { }); }, onGotNewStream(stream) { + if (this.$route.query.pId && !stream.foundPatterns.some(e => e.id === this.$route.query.pId)) { + return; + } if (this.streams.length > this.$store.state.pageSize * 2) { this.streams.pop(); }