1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

Refresh document content when switcing to content view

Closes #135
This commit is contained in:
sauls8t 2018-03-06 15:59:07 +00:00
parent b2b3e6fca6
commit 99220641f3

View file

@ -26,6 +26,9 @@ export default Controller.extend(TooltipMixin, {
actions: { actions: {
onTabChange(tab) { onTabChange(tab) {
this.set('tab', tab); this.set('tab', tab);
if (tab === 'content') {
this.send('refresh');
}
}, },
onShowPage(pageId) { onShowPage(pageId) {