From 8edacb21b42814c42c0bd3a2fece66b5a3c061b9 Mon Sep 17 00:00:00 2001 From: Ashley Vernon Date: Fri, 8 Nov 2019 16:22:43 -0800 Subject: [PATCH 1/2] adds ui metadata to hide callflows for apps --- app.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index aaee0463..9df81a7d 100644 --- a/app.js +++ b/app.js @@ -819,7 +819,12 @@ define(function(require) { filters: { 'filter_not_ui_metadata.origin': [ 'voip', - 'callqueues' + 'callqueues', + 'csv-onboarding', + 'callqueues-pro', + 'dynamic-callerid', + 'accounts', + 'pivot' ] } }); From 4e37e24c219f3910c91ba4ceb74b6d70e66fee17 Mon Sep 17 00:00:00 2001 From: Ashley Vernon Date: Fri, 8 Nov 2019 16:48:54 -0800 Subject: [PATCH 2/2] adds ui metadata to remove hidden app warning for apps --- app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 9df81a7d..557bd424 100644 --- a/app.js +++ b/app.js @@ -824,7 +824,8 @@ define(function(require) { 'callqueues-pro', 'dynamic-callerid', 'accounts', - 'pivot' + 'pivot', + 'migration' ] } }); @@ -1248,7 +1249,7 @@ define(function(require) { } var metadata = self.dataCallflow.hasOwnProperty('ui_metadata') ? self.dataCallflow.ui_metadata : false, - isHiddenCallflow = metadata && metadata.hasOwnProperty('origin') && _.includes(['voip', 'migration', 'mobile', 'callqueues'], metadata.origin); + isHiddenCallflow = metadata && metadata.hasOwnProperty('origin') && _.includes(['voip', 'migration', 'mobile', 'callqueues', 'csv-onboarding', 'callqueues-pro', 'dynamic-callerid', 'accounts', 'pivot'], metadata.origin); isHiddenCallflow ? $('#hidden_callflow_warning').show() : $('#hidden_callflow_warning').hide(); },