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/modal-search.js
Peter Zimon 183e22e0bf 🎨 Updated admin area design and usability (#1232)
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
2019-06-18 11:47:20 +01:00

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();
}
}
});