ソースを参照

Update ProvisionerSettings.tsx (#3340)

jusrhee 2 年 前
コミット
4e60d4a14a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      dashboard/src/components/ProvisionerSettings.tsx

+ 1 - 1
dashboard/src/components/ProvisionerSettings.tsx

@@ -879,7 +879,7 @@ const ProvisionerSettings: React.FC<Props> = (props) => {
       <StyledForm>{renderForm()}</StyledForm>
       <Button
         // disabled={isDisabled()}
-        disabled={currentCluster ? true : isDisabled()}
+        disabled={user?.email === "admin@porter.run" ? false : (currentCluster ? true : isDisabled())}
         onClick={createCluster}
         status={getStatus()}
       >