diff options
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ui.js b/ui.js index b64763b..7e36858 100644 --- a/ui.js +++ b/ui.js @@ -19,6 +19,7 @@ import unic from 'tui-lib/util/unichars' import {getAllCrawlersForArg} from './crawlers.js' import processSmartPlaylist from './smart-playlist.js' +import {originalSymbol} from './socket.js' import UndoManager from './undo-manager.js' import { @@ -1498,6 +1499,16 @@ export default class AppElement extends FocusElement { // const isMarked = false const rootGroup = getItemPath(item)[0] + + // This is the hack mentioned in the todo!!!! + if ( + this.config.showPartyControls && + rootGroup.isPartySources && + item[originalSymbol] + ) { + item = item[originalSymbol] + } + // const hasNotesFile = !!getCorrespondingFileForItem(item, '.txt') const timestampsItem = this.hasTimestampsFile(item) && (this.timestampsExpanded(item, listing) ? {label: 'Collapse saved timestamps', action: () => this.collapseTimestamps(item, listing)} |