mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
3756f8a7da
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.
13 lines
244 B
JavaScript
13 lines
244 B
JavaScript
import Component from 'ember-component';
|
|
|
|
export default Component.extend({
|
|
tagName: '',
|
|
error: null,
|
|
showDetails: false,
|
|
|
|
actions: {
|
|
toggleDetails() {
|
|
this.toggleProperty('showDetails');
|
|
}
|
|
}
|
|
});
|