From 4095776ab3744930d6313b6e2825745672b5222a Mon Sep 17 00:00:00 2001 From: Ian Walton Date: Sat, 15 Aug 2020 11:41:54 -0400 Subject: [PATCH 1/2] Fix syncplay menu. --- src/scripts/libraryMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/libraryMenu.js b/src/scripts/libraryMenu.js index d237eead9d..d67250d5cb 100644 --- a/src/scripts/libraryMenu.js +++ b/src/scripts/libraryMenu.js @@ -8,7 +8,7 @@ import appRouter from 'appRouter'; import appHost from 'apphost'; import playbackManager from 'playbackManager'; import syncPlayManager from 'syncPlayManager'; -import groupSelectionMenu from 'groupSelectionMenu'; +import { show as showGroupSelectionMenu } from 'groupSelectionMenu'; import browser from 'browser'; import globalize from 'globalize'; import imageHelper from 'scripts/imagehelper'; @@ -208,7 +208,7 @@ import 'flexStyles'; function onSyncButtonClicked() { const btn = this; - groupSelectionMenu.show(btn); + showGroupSelectionMenu(btn); } function onSyncPlayEnabled(event, enabled) { From ea41aeaa2bfff1de4dff23cb6104306a68a0ec0d Mon Sep 17 00:00:00 2001 From: Ian Walton Date: Sun, 16 Aug 2020 13:37:25 -0400 Subject: [PATCH 2/2] Fix syncplay menu. (Single line fix.) --- src/scripts/libraryMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/libraryMenu.js b/src/scripts/libraryMenu.js index d67250d5cb..700fb52ad9 100644 --- a/src/scripts/libraryMenu.js +++ b/src/scripts/libraryMenu.js @@ -8,7 +8,7 @@ import appRouter from 'appRouter'; import appHost from 'apphost'; import playbackManager from 'playbackManager'; import syncPlayManager from 'syncPlayManager'; -import { show as showGroupSelectionMenu } from 'groupSelectionMenu'; +import * as groupSelectionMenu from 'groupSelectionMenu'; import browser from 'browser'; import globalize from 'globalize'; import imageHelper from 'scripts/imagehelper'; @@ -208,7 +208,7 @@ import 'flexStyles'; function onSyncButtonClicked() { const btn = this; - showGroupSelectionMenu(btn); + groupSelectionMenu.show(btn); } function onSyncPlayEnabled(event, enabled) {