2018-08-01 10:27:13 +00:00
|
|
|
import SubPage from './subpage';
|
2018-08-13 16:06:07 +00:00
|
|
|
import { get_empty_state } from '../components/empty_state';
|
2018-08-01 08:39:07 +00:00
|
|
|
|
|
|
|
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>`
|
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|