mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 08:18:42 +00:00
9 lines
277 B
JavaScript
9 lines
277 B
JavaScript
/**
|
|
* Middleware that changes the table loading state to true before the route
|
|
* changes. That way we can show a loading animation to the user when switching
|
|
* between views.
|
|
*/
|
|
export default async function ({ store }) {
|
|
await store.dispatch('table/setLoading', true)
|
|
}
|