BaseRoute>(SuperClass: RouteClass) {
if (!Object.prototype.isPrototypeOf.call(Route, SuperClass)) {
// eslint-disable-next-line
- console.error(
+ console.debug(
'withConfig decorator must be used on an instance of Ember Route class. Decorator not applied to returned class'
);
return SuperClass;
@@ -40,7 +40,10 @@ export function withConfig(modelName: string) {
async beforeModel(transition: Transition) {
super.beforeModel(transition);
-
+ if (!this.secretMountPath) {
+ // eslint-disable-next-line
+ console.debug('secretMountPath service is required for withConfig decorator. Add it to the route');
+ }
const backend = this.secretMountPath.currentPath;
// check the store for record first
this.configModel = this.store.peekRecord(modelName, backend);
diff --git a/ui/lib/core/addon/templates/components/select.hbs b/ui/lib/core/addon/templates/components/select.hbs
index a58604095f..5405fb0aef 100644
--- a/ui/lib/core/addon/templates/components/select.hbs
+++ b/ui/lib/core/addon/templates/components/select.hbs
@@ -12,6 +12,7 @@