merge v0.23.0-rc changes
This commit is contained in:
24
ui/src/components/collections/providers/AppleOptions.svelte
Normal file
24
ui/src/components/collections/providers/AppleOptions.svelte
Normal file
@@ -0,0 +1,24 @@
|
||||
<script>
|
||||
import AppleSecretPopup from "@/components/collections/providers/AppleSecretPopup.svelte";
|
||||
|
||||
export let key = "";
|
||||
export let config = {};
|
||||
|
||||
let generatorPopup;
|
||||
</script>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-sm btn-secondary btn-provider-{key}"
|
||||
on:click={() => generatorPopup?.show({ clientId: config.clientId })}
|
||||
>
|
||||
<i class="ri-key-line" />
|
||||
<span class="txt">Generate secret</span>
|
||||
</button>
|
||||
|
||||
<AppleSecretPopup
|
||||
bind:this={generatorPopup}
|
||||
on:submit={(e) => {
|
||||
config.clientSecret = e.detail?.secret || "";
|
||||
}}
|
||||
/>
|
||||
Reference in New Issue
Block a user