We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 512834b commit 59e4ffdCopy full SHA for 59e4ffd
resources/assets/editor/views/[section].vue
@@ -42,8 +42,10 @@
42
store.selectSection(route.params.section);
43
});
44
45
- onBeforeRouteLeave(() => {
46
- store.deselectSection(route.params.section);
+ onBeforeRouteLeave((to, from) => {
+ if (!(to.params as any).section) {
47
+ store.deselectSection(route.params.section);
48
+ }
49
50
51
function goBack() {
src/Settings/Support/ImageValue.php
@@ -43,6 +43,6 @@ private function getSizedUrl(string $size): string
return $this->url;
}
- return url("cache/{$size}/" . $this->path);
+ return url("cache/{$size}/".$this->path);
0 commit comments