1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/components/gh-theme-error-li.js
Aileen Nowak 3756f8a7da 💄 Theme upload modal style improvements (#784)
no issue

With GScan sending error details now, the modal was a bit overloaded.

This PR adds a toggle for each error rule which - when clicked - shows the details and the affected files.
2017-07-20 11:30:45 +01:00

13 lines
244 B
JavaScript

import Component from 'ember-component';
export default Component.extend({
tagName: '',
error: null,
showDetails: false,
actions: {
toggleDetails() {
this.toggleProperty('showDetails');
}
}
});