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