Handle invalidated application keys after auth failures
This commit is contained in:
@@ -152,6 +152,10 @@ export function stockDetailPageData(store) {
|
||||
level: 'plenty',
|
||||
},
|
||||
async init() {
|
||||
if (!store.isConnected) {
|
||||
return;
|
||||
}
|
||||
|
||||
const { params } = getRouteContext();
|
||||
await runAsyncState(this.state, async () => {
|
||||
this.entry = await getStockEntry(store, params.id);
|
||||
|
||||
Reference in New Issue
Block a user