Refresh Configs with browser editing and source inspection
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import { onMount, onDestroy } from 'svelte';
|
||||
import { artifactVersionLabel } from '$lib/artifact-version.js';
|
||||
import PluginGithubImport from './PluginGithubImport.svelte';
|
||||
import ConfigEditor from './ConfigEditor.svelte';
|
||||
import type { PluginSource } from '$lib/plugin-github.js';
|
||||
import { goto } from '$app/navigation';
|
||||
import Card from './primitives/Card.svelte';
|
||||
@@ -329,6 +330,11 @@
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
{#if a.kind === 'config' || a.kind === 'baseline'}
|
||||
<ConfigEditor {id} kind={a.kind} {versions} currentVersionId={a.current_version_id}
|
||||
{runningBetaId} scopeType={a.scope_type} scopeValue={a.scope_value} onsaved={() => load({ seedForm: false })} />
|
||||
{/if}
|
||||
|
||||
<Card padding="lg">
|
||||
<div class="panel-head">
|
||||
<h2>Version history</h2>
|
||||
|
||||
Reference in New Issue
Block a user