Show a "Refresh" button to if the content is stale
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
This commit is contained in:
@@ -148,6 +148,11 @@ createDevApp()
|
||||
|
||||
<TabbedLayout.Route path="/stale" title="Stale">
|
||||
{createPage({
|
||||
entityDocs: ({ called, content }) => {
|
||||
return called === 0
|
||||
? content
|
||||
: content.replace(/World/, 'New World');
|
||||
},
|
||||
syncDocs: () => 'updated',
|
||||
syncDocsDelay: 2000,
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user