This commit is contained in:
+2
-2
@@ -78,7 +78,7 @@ custom:
|
|||||||
'integration.request.header.cache-control': "'public, max-age=86400, immutable'"
|
'integration.request.header.cache-control': "'public, max-age=86400, immutable'"
|
||||||
|
|
||||||
- s3:
|
- s3:
|
||||||
path: /projects/{pid}
|
path: /questlog/{pid}
|
||||||
method: get
|
method: get
|
||||||
action: GetObject
|
action: GetObject
|
||||||
bucket: ${self:custom.webuiBucket}
|
bucket: ${self:custom.webuiBucket}
|
||||||
@@ -89,7 +89,7 @@ custom:
|
|||||||
|
|
||||||
|
|
||||||
- s3:
|
- s3:
|
||||||
path: /projects/{gid}/{pid}
|
path: /questlog/{gid}/{pid}
|
||||||
method: get
|
method: get
|
||||||
action: GetObject
|
action: GetObject
|
||||||
bucket: ${self:custom.webuiBucket}
|
bucket: ${self:custom.webuiBucket}
|
||||||
|
|||||||
@@ -6,11 +6,18 @@
|
|||||||
import QuestLog from "../components/QuestLog.svelte";
|
import QuestLog from "../components/QuestLog.svelte";
|
||||||
import RefreshSelection from "../components/RefreshSelection.svelte";
|
import RefreshSelection from "../components/RefreshSelection.svelte";
|
||||||
import projectGroupStore from "../stores/projectGroup";
|
import projectGroupStore from "../stores/projectGroup";
|
||||||
|
import projectStore from "../stores/project";
|
||||||
import { sortProjects } from "../utils/sorters";
|
import { sortProjects } from "../utils/sorters";
|
||||||
|
|
||||||
export let groupId = "";
|
export let groupId = "";
|
||||||
export let projectId = "";
|
export let projectId = "";
|
||||||
|
|
||||||
|
$: {
|
||||||
|
if ($projectStore.stale && !$projectStore.loading) {
|
||||||
|
projectStore.load();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$: {
|
$: {
|
||||||
if ($projectGroupStore.stale && !$projectGroupStore.loading) {
|
if ($projectGroupStore.stale && !$projectGroupStore.loading) {
|
||||||
projectGroupStore.load();
|
projectGroupStore.load();
|
||||||
|
|||||||
Reference in New Issue
Block a user