mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 13:16:05 +08:00
refactor: customize empty table rows message
Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
@@ -382,9 +382,9 @@ defineExpose({ startMigration: startMigrationAction });
|
||||
</template>
|
||||
<template #header-right>
|
||||
<a
|
||||
role="button"
|
||||
href="#"
|
||||
class="edit-selection-link"
|
||||
@click="onEditSelection"
|
||||
@click.prevent="onEditSelection"
|
||||
>
|
||||
{{ t('harvester.addons.vmMigration.reviewMigration.editSelection') }}
|
||||
</a>
|
||||
@@ -458,6 +458,21 @@ defineExpose({ startMigration: startMigrationAction });
|
||||
</template>
|
||||
</rc-dropdown>
|
||||
</template>
|
||||
<template #no-rows>
|
||||
<tr class="no-rows">
|
||||
<td
|
||||
:colspan="vmHeaders.length"
|
||||
class="text-center"
|
||||
>
|
||||
{{ t('harvester.addons.vmMigration.reviewMigration.noVmSelected') }}
|
||||
<a
|
||||
href="#"
|
||||
class="edit-selection-link"
|
||||
@click.prevent="onEditSelection"
|
||||
>{{ t('harvester.addons.vmMigration.reviewMigration.noVmSelectedLink') }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</template>
|
||||
</SortableTable>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user