crkn-rcdr / sapindale

Sapper/Svelte access platform administration interface
2 stars 2 forks source link

CouchView parameter issue. #114

Closed RussellMcOrmond closed 3 years ago

RussellMcOrmond commented 3 years ago

A PR to discuss possible fixes for #109

RussellMcOrmond commented 3 years ago

I don't know why preload() wasn't running, but I thought of solving the problem an entirely different way by doing all the work in the onMount() instead.

Thoughts?

DivyaKrishnan26 commented 3 years ago

This could be a temporary fix for the issue, loading the Page param on the onMount(), I am not sure if that is something we would want to do. Getting the preload work would be the ideal thing according to me. If Sascha has better suggestion we could follow that up may be. This makes me ask a question, can couchview be the next server route thing to do?