mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
c51bce7358
refs. https://github.com/TryGhost/Team/issues/205 Major update to Ghost Admin UI including: - improved general consistency (typography, colors and contrast, UI components, icons) - new design for post and pages lists, improved discoverability of filters - search moved to modal - account menu is decoupled from ghost logo - further usability fixes
17 lines
327 B
JavaScript
17 lines
327 B
JavaScript
import ModalComponent from 'ghost-admin/components/modal-base';
|
|
|
|
export default ModalComponent.extend({
|
|
actions: {
|
|
confirm() {
|
|
this.closeModal();
|
|
}
|
|
},
|
|
|
|
click() {
|
|
let input = this.element.querySelector('input');
|
|
if (input) {
|
|
input.focus();
|
|
}
|
|
}
|
|
});
|