failsafes and fixed buttons
This commit is contained in:
parent
02a7fd9e23
commit
858c283bcc
4 changed files with 50 additions and 16 deletions
|
@ -23,7 +23,7 @@
|
|||
<div class="name">{{app.getLz('term.audioControls')}}</div>
|
||||
</button>
|
||||
<button class="playlist-item"
|
||||
@click="openCiderAudioLab" style="width:100%;">
|
||||
@click="$root.appRoute('audiolabs')" style="width:100%;">
|
||||
<div class="icon"><%- include("../svg/speaker.svg") %></div>
|
||||
<div class="name">Cider Audio Lab</div>
|
||||
</button>
|
||||
|
@ -60,13 +60,6 @@
|
|||
app.modals.audioControls = true
|
||||
app.modals.audioSettings = false
|
||||
},
|
||||
openCiderAudioLab() {
|
||||
if (app.cfg.advanced.AudioContext === true) {
|
||||
$root.appRoute('audiolabs')
|
||||
} else {
|
||||
notyf.error("Cider Audio Lab requires 'Advanced Functionality' to be enabled.")
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue