brotherton-erpnext/erpnext/public/js/hub/pages/not_found.js

11 lines
318 B
JavaScript
Raw Normal View History

2018-08-01 10:27:13 +00:00
import SubPage from './subpage';
erpnext.hub.NotFound = class NotFound extends SubPage {
refresh() {
this.$wrapper.html(get_empty_state(
__('Sorry! I could not find what you were looking for.'),
`<button class="btn btn-default btn-xs" data-route="marketplace/home">${__('Back to home')}</button>`
));
}
}