mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-29 06:10:47 +00:00
disable credential regenerate button for local and wireguard
This commit is contained in:
@@ -117,7 +117,7 @@ export default function CredentialsPage() {
|
||||
<Button
|
||||
onClick={handleRegenerate}
|
||||
loading={loading}
|
||||
disabled={loading}
|
||||
disabled={site.type != "newt"}
|
||||
>
|
||||
{t("regeneratecredentials")}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user