Change button based on option (#1077)

zio/stable
William 2023-08-02 10:56:47 -06:00 committed by GitHub
parent f33fdb97b6
commit 7256169506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -493,7 +493,9 @@ function CustomHandleForm({
<ActivityIndicator color="white" />
) : (
<Text type="xl-medium" style={[s.white, s.textCenter]}>
{canSave ? `Update to ${handle}` : 'Verify DNS Record'}
{canSave
? `Update to ${handle}`
: `Verify ${isDNSForm ? 'DNS Record' : 'Text File'}`}
</Text>
)}
</Button>