kopia lustrzana https://github.com/cloudflare/wildebeest
remove admin loader and hide not implemented yet
Any connected user are able to set an alias on their Actor. Set the admin restriction only on server-settings.pull/403/head
rodzic
cd423b8bfd
commit
1884910b1d
|
@ -1,7 +1,5 @@
|
||||||
import { component$, Slot } from '@builder.io/qwik'
|
import { component$, Slot } from '@builder.io/qwik'
|
||||||
|
|
||||||
export { adminLoader } from '~/utils/adminLoader'
|
|
||||||
|
|
||||||
export default component$(() => {
|
export default component$(() => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
|
@ -5,6 +5,7 @@ export default component$(() => {
|
||||||
<div class="max-w-4xl py-14 px-8">
|
<div class="max-w-4xl py-14 px-8">
|
||||||
<h2 class="text-2xl font-bold mb-10">Account Migration</h2>
|
<h2 class="text-2xl font-bold mb-10">Account Migration</h2>
|
||||||
|
|
||||||
|
{/*
|
||||||
<div class="text-green-700 mb-10">Your account is not currently being redirected to any other account.</div>
|
<div class="text-green-700 mb-10">Your account is not currently being redirected to any other account.</div>
|
||||||
|
|
||||||
<h3 class="text-xl mb-6">Move to a different account</h3>
|
<h3 class="text-xl mb-6">Move to a different account</h3>
|
||||||
|
@ -73,6 +74,7 @@ export default component$(() => {
|
||||||
Create Alias
|
Create Alias
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
*/}
|
||||||
<h3 class="text-xl mt-4 mb-8">Moving from a different account</h3>
|
<h3 class="text-xl mt-4 mb-8">Moving from a different account</h3>
|
||||||
|
|
||||||
<p class="text-sm text-wildebeest-400 mb-5">
|
<p class="text-sm text-wildebeest-400 mb-5">
|
||||||
|
|
|
@ -5,6 +5,8 @@ import { getSettings } from 'wildebeest/backend/src/config/server'
|
||||||
import { ServerAboutData } from './about'
|
import { ServerAboutData } from './about'
|
||||||
import { ServerBrandingData } from './branding'
|
import { ServerBrandingData } from './branding'
|
||||||
|
|
||||||
|
export { adminLoader } from '~/utils/adminLoader'
|
||||||
|
|
||||||
export type ServerSettingsData = ServerBrandingData & ServerAboutData
|
export type ServerSettingsData = ServerBrandingData & ServerAboutData
|
||||||
|
|
||||||
export const serverSettingsLoader = loader$<Promise<Partial<ServerSettingsData>>>(async ({ platform }) => {
|
export const serverSettingsLoader = loader$<Promise<Partial<ServerSettingsData>>>(async ({ platform }) => {
|
||||||
|
|
Ładowanie…
Reference in New Issue