Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ module.exports = {
'ember-suave/no-const-outside-module-scope': 'off',
'ember-suave/require-access-in-comments': 'off',
'ember/no-get': 'error',
'ember/no-get-properties': 'error',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iamareebjamal Why this rule was removed ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read the changelogs of the library

},
globals: {
module : true,
Expand Down
2 changes: 1 addition & 1 deletion app/components/account/password-section.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default Component.extend(FormMixin, {
},
submit() {
this.onValid(() => {
this.sendAction('changePassword', this.getProperties('passwordCurrent', 'passwordNew'));
this.sendAction('changePassword', { passwordCurrent: this.passwordCurrent, passwordNew: this.passwordNew });
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/components/forms/login-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default class extends Component.extend(FormMixin) {
@action
async submit() {
this.onValid(async() => {
let credentials = this.getProperties('identification', 'password'),
let credentials = { identification: this.identification, password: this.password },
authenticator = 'authenticator:jwt';
this.setProperties({
errorMessage : null,
Expand Down
12 changes: 6 additions & 6 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const MergeTrees = require('broccoli-merge-trees');
const Funnel = require('broccoli-funnel');
const targets = require('./config/targets');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');

let env = process.env.EMBER_ENV || 'development';

Expand Down Expand Up @@ -39,13 +39,13 @@ module.exports = function(defaults) {
webpack: {
plugins: env === 'production' ? [
new BundleAnalyzerPlugin({
analyzerMode: 'static',
openAnalyzer: false,
generateStatsFile: true
analyzerMode : 'static',
openAnalyzer : false,
generateStatsFile : true
})
] : []
},
},
}
}
});

app.import('bower_components/semantic-ui-calendar/dist/calendar.min.css');
Expand Down