fix: lint warnings

This commit is contained in:
Susmitha Girumala committed 2020-11-13 12:11:12 -05:00
1 parent 89d7a7d628
commit 7eabd226f4
3 files changed
+8 -4

No files matched your search

+4
View File
@@ -1,8 +1,12 @@
import Route from '@ember/routing/route';
import Ember from 'ember';
/* eslint-disable-next-line ember/no-mixins */
import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin';
import { inject as service } from '@ember/service';
import { action } from '@ember/object';
import { A } from '@ember/array';
import { getOwner } from '@ember/application';
import { later } from '@ember/runloop';
import loading from 'ember-loading/decorator';
export default class ApplicationRoute extends Route.extend(
+1 -1
View File
@@ -13,7 +13,7 @@ export default class ScopesScopeIndexRoute extends Route {
* If already authenticated, redirects to scopes/scope/scopes to display
* list of sub scopes.
*/
redirect(model) {
redirect() {
if (!this.session.isAuthenticated) {
this.replaceWith('scopes.scope.authenticate');
} else {
+3 -3
View File
@@ -44,8 +44,8 @@
}
.rose-dropdown {
$iconWidth: sizing.rems(m) + sizing.rems(s);
$indent: $iconWidth + sizing.rems(xs);
$icon-width: sizing.rems(m) + sizing.rems(s);
$indent: $icon-width + sizing.rems(xs);
.rose-form-radio-label {
display: flex;
@@ -63,7 +63,7 @@
.indent-label-2 {
.rose-form-radio-label {
padding-left: $indent + $iconWidth;
padding-left: $indent + $icon-width;
}
}