mirror of
https://github.com/siderolabs/omni.git
synced 2026-05-05 14:46:12 +02:00
fix: copy buttons on omni home page
Fix copy buttons on omni home page. Fixes #1495 Signed-off-by: Edward Sammut Alessi <edward.sammutalessi@siderolabs.com>
This commit is contained in:
parent
c76b003b86
commit
9f0f15aafb
@ -118,11 +118,11 @@ onBeforeMount(async () => {
|
||||
Download Installation Media
|
||||
</TButton>
|
||||
|
||||
<TButton icon="long-arrow-down" icon-position="left" @click="downloadMachineJoinConfig">
|
||||
<TButton icon="long-arrow-down" icon-position="left" @click="downloadMachineJoinConfig()">
|
||||
Download Machine Join Config
|
||||
</TButton>
|
||||
|
||||
<TButton icon="copy" icon-position="left" @click="copyKernelArgs">
|
||||
<TButton icon="copy" icon-position="left" @click="copyKernelArgs()">
|
||||
Copy Kernel Parameters
|
||||
</TButton>
|
||||
</section>
|
||||
@ -130,7 +130,7 @@ onBeforeMount(async () => {
|
||||
<section class="flex flex-col gap-2">
|
||||
<h3 class="text-sm font-medium">CLI</h3>
|
||||
|
||||
<TButton type="primary" icon="document" icon-position="left" @click="downloadTalosconfig">
|
||||
<TButton type="primary" icon="document" icon-position="left" @click="downloadTalosconfig()">
|
||||
Download <code>talosconfig</code>
|
||||
</TButton>
|
||||
|
||||
|
||||
@ -107,7 +107,7 @@ const restore = async (clusterMachine: Resource<ClusterMachineSpec>) => {
|
||||
|
||||
<div class="mt-2 flex items-end gap-4">
|
||||
<div class="flex-1" />
|
||||
<TButton class="h-9" @click="close"> Close </TButton>
|
||||
<TButton class="h-9" @click="close(true)">Close</TButton>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user