Skip to content
Snippets Groups Projects
Commit e61d5ae6 authored by Anna Vovchenko's avatar Anna Vovchenko :flag_ua:
Browse files

Merge branch 'mrincon-component-rename' into 'master'

Rename runner summary component

See merge request !104601



Merged-by: default avatarAnna Vovchenko <avovchenko@gitlab.com>
Approved-by: default avatarLaura Meckley <lmeckley@gitlab.com>
Approved-by: default avatarAnna Vovchenko <avovchenko@gitlab.com>
Co-authored-by: Miguel Rincon's avatarMiguel Rincon <mrincon@gitlab.com>
parents e24698a8 d6eb51eb
No related branches found
No related tags found
1 merge request!104601Rename runner summary component
Pipeline #702562640 passed
......@@ -7,7 +7,7 @@ import checkedRunnerIdsQuery from '../graphql/list/checked_runner_ids.query.grap
import { formatJobCount, tableField } from '../utils';
import RunnerBulkDelete from './runner_bulk_delete.vue';
import RunnerBulkDeleteCheckbox from './runner_bulk_delete_checkbox.vue';
import RunnerStackedSummaryCell from './cells/runner_stacked_summary_cell.vue';
import RunnerSummaryCell from './cells/runner_summary_cell.vue';
import RunnerStatusPopover from './runner_status_popover.vue';
import RunnerStatusCell from './cells/runner_status_cell.vue';
import RunnerOwnerCell from './cells/runner_owner_cell.vue';
......@@ -28,7 +28,7 @@ export default {
RunnerBulkDelete,
RunnerBulkDeleteCheckbox,
RunnerStatusPopover,
RunnerStackedSummaryCell,
RunnerSummaryCell,
RunnerStatusCell,
RunnerOwnerCell,
},
......@@ -154,11 +154,11 @@ export default {
</template>
<template #cell(summary)="{ item, index }">
<runner-stacked-summary-cell :runner="item">
<runner-summary-cell :runner="item">
<template #runner-name="{ runner }">
<slot name="runner-name" :runner="runner" :index="index"></slot>
</template>
</runner-stacked-summary-cell>
</runner-summary-cell>
</template>
<template #head(owner)="{ label }">
......
import { __ } from '~/locale';
import { mountExtended } from 'helpers/vue_test_utils_helper';
import RunnerStackedSummaryCell from '~/ci/runner/components/cells/runner_stacked_summary_cell.vue';
import RunnerSummaryCell from '~/ci/runner/components/cells/runner_summary_cell.vue';
import TimeAgo from '~/vue_shared/components/time_ago_tooltip.vue';
import RunnerTags from '~/ci/runner/components/runner_tags.vue';
import RunnerSummaryField from '~/ci/runner/components/cells/runner_summary_field.vue';
......@@ -22,7 +22,7 @@ describe('RunnerTypeCell', () => {
.wrappers[0];
const createComponent = (runner, options) => {
wrapper = mountExtended(RunnerStackedSummaryCell, {
wrapper = mountExtended(RunnerSummaryCell, {
propsData: {
runner: {
...mockRunner,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment