Skip to content

Commit

Permalink
Fix: page refresh for WNFS loaded workflows and update app-info
Browse files Browse the repository at this point in the history
  • Loading branch information
avivash committed Nov 15, 2023
1 parent 6718cda commit 9c9b0ae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/lib/app-info.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const appName = 'IPVM Dashboard'
export const appDescription = 'Dashboard for managing IPVM workflows, tasks, payments, nodes, etc...'
export const appURL = 'https://ipvm-dashboard.fission.app'
export const appName = 'EC Control Panel'
export const appDescription = 'Control panel for managing workflows, function, payments, nodes, etc...'
export const appURL = 'https://ec-control-panel-0.fission.app/'
export const appImageURL = `${appURL}/preview.png`
export const ipfsGatewayUrl = 'runfission.com'
export const oddNamespace = { creator: 'Fission', name: 'IPVM-Dashboard' }
7 changes: 6 additions & 1 deletion src/routes/workflows/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import { filesystemStore, themeStore, workflowsStore } from '$lib/stores'
import { WORKFLOWS_DIR } from '$lib/workflows'
$workflowsStore.loading = true
// Load saved workflows from WNFS
onMount(async () => {
const workflowsFilePath = odd.path.combine(
Expand All @@ -22,7 +24,10 @@
)
$workflowsStore.workflows = parsedWorkflows
}
$workflowsStore.loading = false
})
</script>

<slot />
{#if !$workflowsStore.loading}
<slot />
{/if}
3 changes: 0 additions & 3 deletions src/routes/workflows/components/Runs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@
'out:fly': { y: 500, duration: 300, opacity: 0, easing: expoInOut }
}
: {}
$: {
// console.log('conditionalProps', conditionalProps)
}
onMount(() => {
// Inject an initial run into the list if there aren't any yet
Expand Down

0 comments on commit 9c9b0ae

Please sign in to comment.