SkyeYoung commented on code in PR #3015: URL: https://github.com/apache/apisix-dashboard/pull/3015#discussion_r2077119018
########## src/components/form-slice/FormPartSSL/FormItemCertKeyList.tsx: ########## @@ -54,19 +55,21 @@ const CertKeyPairList = () => { <PairWrapper key={cert.id} legend={ - <Button - leftSection={<IconDelete />} - justify="flex-end" - size="compact-xs" - color="red" - variant="outline" - onClick={() => { - certs.remove(idx); - keys.remove(idx); - }} - > - {t('form.ssls.cert_key_list.delete')} - </Button> + !certsState.disabled && ( Review Comment: do not show the buttons when in the disable state. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org