mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-19 15:55:26 +02:00
fix: Add allowAliasDeletion to ServerSettings
This commit is contained in:
parent
6490aad2ed
commit
f854ab8a17
@ -48,6 +48,7 @@ export default function AliasDetailRoute(): ReactElement {
|
||||
<SimplePage
|
||||
title={t("routes.AliasDetailRoute.title")}
|
||||
actions={
|
||||
serverSettings.allowAliasDeletion &&
|
||||
query.data && (
|
||||
<DeleteButton
|
||||
onDelete={() => deleteAlias(aliasID!)}
|
||||
|
@ -83,6 +83,7 @@ export interface ServerSettings {
|
||||
customAliasSuffixLength: number
|
||||
instanceSalt: string
|
||||
publicKey: string
|
||||
allowAliasDeletion: boolean
|
||||
}
|
||||
|
||||
export interface Alias {
|
||||
|
Loading…
x
Reference in New Issue
Block a user