nicer
Massimo Melina committed
Mar 27, 2023 at 11:35 UTC
6ca5ed30c16e71e4a05eb3f5c2af18f19d7e2239
2 files changed
+3
-1
admin/src/InstalledPlugins.ts
+1
@@ -75,6 +75,7 @@ export default function InstalledPlugins({ updates }: { updates?: true }) {
75
icon: Settings,
76
title: "Options",
77
disabled: !config && "No options available for this plugin",
78
+ progress: false,
79
async onClick() {
80
const pl = await apiCall('get_plugin', { id })
81
const values = await formDialog({
frontend/src/App.ts
+2
-1
@@ -8,6 +8,7 @@ import useTheme from "./useTheme"
8
import { useSnapState } from './state'
9
import { I18Nprovider } from './i18n'
10
import { useEventListener } from 'usehooks-ts'
11
+import { Spinner } from "./components"
12
13
function App() {
14
useTheme()
@@ -19,7 +20,7 @@ function App() {
20
if (messageOnly)
21
return h('h1', { style: { textAlign: 'center'} }, messageOnly)
22
if (!ready)
22
- return h('div', {}, '...')
23
+ return h(Spinner)
24
return h(I18Nprovider, {},
25
h(BrowserRouter, {},
26
h(Routes, {},