mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
make sure page has expected preloading value
This commit is contained in:
@@ -215,6 +215,7 @@ function prepare_page(target: Target): Promise<{
|
||||
|
||||
return {
|
||||
data: Object.assign({}, props, {
|
||||
preloading: false,
|
||||
child: {
|
||||
component: manifest.error,
|
||||
props
|
||||
@@ -225,6 +226,7 @@ function prepare_page(target: Target): Promise<{
|
||||
|
||||
const props = { path, query };
|
||||
const data = {
|
||||
preloading: false,
|
||||
path,
|
||||
child: Object.assign({}, root_props.child, {
|
||||
segment: segments[0]
|
||||
|
||||
Reference in New Issue
Block a user