Fix labels in invite link dialog (#10472)
This commit is contained in:
@@ -199,7 +199,10 @@ export function InviteLinkDialog({
|
|||||||
)
|
)
|
||||||
break
|
break
|
||||||
case Step.GENERATE:
|
case Step.GENERATE:
|
||||||
header = l`Generate invite link`
|
header =
|
||||||
|
joinLink && enabledStatus === 'enabled'
|
||||||
|
? l`Update invite link`
|
||||||
|
: l`Generate invite link`
|
||||||
content = (
|
content = (
|
||||||
<>
|
<>
|
||||||
<View>
|
<View>
|
||||||
@@ -234,7 +237,11 @@ export function InviteLinkDialog({
|
|||||||
</View>
|
</View>
|
||||||
<View style={[a.mt_4xl]}>
|
<View style={[a.mt_4xl]}>
|
||||||
<Button
|
<Button
|
||||||
label={l`Generate invite link`}
|
label={
|
||||||
|
joinLink && enabledStatus === 'enabled'
|
||||||
|
? l`Update invite link`
|
||||||
|
: l`Generate invite link`
|
||||||
|
}
|
||||||
color="primary"
|
color="primary"
|
||||||
size="large"
|
size="large"
|
||||||
disabled={isSaving}
|
disabled={isSaving}
|
||||||
|
|||||||
Reference in New Issue
Block a user