feat(backup/overview): add tooltip to migrate action button (#3067)
Fixes #3042
This commit is contained in:
@@ -353,6 +353,7 @@ const messages = {
|
||||
jobUserNotFound: "This job's creator no longer exists",
|
||||
backupUserNotFound: "This backup's creator no longer exists",
|
||||
redirectToMatchingVms: 'Click here to see the matching VMs',
|
||||
migrateToBackupNg: 'Migrate to backup NG',
|
||||
noMatchingVms: 'There are no matching VMs!',
|
||||
allMatchingVms: '{icon} See the matching VMs ({nMatchingVms, number})',
|
||||
backupOwner: 'Backup owner',
|
||||
|
||||
@@ -126,10 +126,11 @@ const JOB_COLUMNS = [
|
||||
icon='run-schedule'
|
||||
/>
|
||||
<ActionRowButton
|
||||
icon='migrate-job'
|
||||
btnStyle='danger'
|
||||
handler={migrateBackupSchedule}
|
||||
handlerParam={schedule.jobId}
|
||||
icon='migrate-job'
|
||||
tooltip={_('migrateToBackupNg')}
|
||||
/>
|
||||
<ActionRowButton
|
||||
btnStyle='danger'
|
||||
@@ -164,12 +165,12 @@ export default class Overview extends Component {
|
||||
jobs === undefined || schedules === undefined
|
||||
? []
|
||||
: orderBy(
|
||||
filter(schedules, schedule => {
|
||||
const job = jobs[schedule.jobId]
|
||||
return job && jobKeyToLabel[job.key]
|
||||
}),
|
||||
'id'
|
||||
)
|
||||
filter(schedules, schedule => {
|
||||
const job = jobs[schedule.jobId]
|
||||
return job && jobKeyToLabel[job.key]
|
||||
}),
|
||||
'id'
|
||||
)
|
||||
)
|
||||
|
||||
_redirectToMatchingVms = pattern => {
|
||||
|
||||
Reference in New Issue
Block a user