wip: trpc
This commit is contained in:
parent
6efb02fa32
commit
91c36dc810
@ -2,8 +2,7 @@
|
||||
import type { LayoutData } from './$types';
|
||||
|
||||
export let data: LayoutData;
|
||||
let source = data.source.data;
|
||||
console.log(source)
|
||||
let source = data.source.data.source;
|
||||
import { page } from '$app/stores';
|
||||
import { errorNotification } from '$lib/common';
|
||||
import { appSession, trpc } from '$lib/store';
|
||||
|
@ -2,8 +2,8 @@
|
||||
import type { LayoutData } from './$types';
|
||||
|
||||
export let data: LayoutData;
|
||||
let source = data.source;
|
||||
let settings = data.settings;
|
||||
let source = data.source.data.source;
|
||||
let settings = data.source.data.settings;
|
||||
import { page } from '$app/stores';
|
||||
import Source from './components/Source.svelte';
|
||||
import New from './components/New.svelte';
|
||||
|
@ -177,7 +177,7 @@
|
||||
class="btn btn-sm"
|
||||
href={`${source.htmlUrl}/${
|
||||
source.htmlUrl === 'https://github.com' ? 'apps' : 'github-apps'
|
||||
}/${source.githubApp.name}/installations/new`}>"Change GitHub App Settings"</a
|
||||
}/${source.githubApp.name}/installations/new`}>Change GitHub App Settings</a
|
||||
>
|
||||
</div>
|
||||
{/if}
|
||||
|
@ -158,7 +158,7 @@
|
||||
>
|
||||
{#if source.gitlabAppId}
|
||||
<button class="btn btn-sm" on:click|preventDefault={changeSettings}
|
||||
>"Change GitLab App Settings"</button
|
||||
>Change GitLab App Settings</button
|
||||
>
|
||||
{:else}
|
||||
<button class="btn btn-sm" on:click|preventDefault|stopPropagation={newApp}
|
||||
|
Loading…
x
Reference in New Issue
Block a user