fix: use magic domain for machine domain attribute
This commit is contained in:
parent
3ea5fed8f6
commit
08db192db1
1 changed files with 9 additions and 5 deletions
|
|
@ -129,11 +129,15 @@ export default function Page() {
|
||||||
name="Expiry"
|
name="Expiry"
|
||||||
value={new Date(machine.expiry).toLocaleString()}
|
value={new Date(machine.expiry).toLocaleString()}
|
||||||
/>
|
/>
|
||||||
<Attribute
|
{magic
|
||||||
isCopyable
|
? (
|
||||||
name="Domain"
|
<Attribute
|
||||||
value={`${machine.givenName}.${machine.user.name}.ts.net`}
|
isCopyable
|
||||||
/>
|
name="Domain"
|
||||||
|
value={`${machine.givenName}.${machine.user.name}.${magic}`}
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
: undefined}
|
||||||
</Card>
|
</Card>
|
||||||
<h2 className="text-xl font-medium mb-4 mt-8">
|
<h2 className="text-xl font-medium mb-4 mt-8">
|
||||||
Machine Routes
|
Machine Routes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue