mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-10 00:03:39 +00:00
clarify when bad passcode
This commit is contained in:
@@ -86,7 +86,11 @@ exports.data = function data(_device, oscData) {
|
||||
workspace.cueLists = {};
|
||||
workspace.cues = {};
|
||||
|
||||
if(json.data){
|
||||
if(json.status=="denied"){
|
||||
device.data.permission = false;
|
||||
|
||||
}else if(json.data){
|
||||
device.data.permission = true;
|
||||
|
||||
json.data.forEach(cueList => {
|
||||
workspace.cueLists[cueList.uniqueID] = cueList;
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
|
||||
<%
|
||||
if(data.permission){
|
||||
|
||||
for(const workspace_id in data.workspaces){
|
||||
const workspace = data.workspaces[workspace_id];
|
||||
|
||||
@@ -40,7 +42,9 @@
|
||||
|
||||
|
||||
|
||||
<% }} %>
|
||||
<% }}}else{ %>
|
||||
<h3>Incorrect Passcode or OSC Access Permissions</h3>
|
||||
<% } %>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user