We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e7ecc1 commit e965f1aCopy full SHA for e965f1a
app/ui/src/routes/(sidebar)/settings/plugins/+page.svelte
@@ -54,8 +54,9 @@
54
<div class="flex-0">
55
{#if context.file}
56
<SlimButton
57
- on:click={() => {
58
- window.Caffeinated.pluginIntegration.unload(context.id);
+ on:click={async () => {
+ await window.Caffeinated.pluginIntegration.unload(context.id);
59
+ location.reload();
60
}}
61
>
62
<LocalizedText
@@ -79,8 +80,9 @@
79
80
</p>
81
82
83
- window.Caffeinated.pluginIntegration.load(file);
84
+ await window.Caffeinated.pluginIntegration.load(file);
85
86
87
88
<LocalizedText key="co.casterlabs.caffeinated.app.page.settings.plugins.file.load" />
0 commit comments