|
|
|
<script>
|
|
|
|
/* eslint-disable @gitlab/vue-i18n/no-bare-strings */
|
|
|
|
/* eslint-disable @gitlab/vue-require-i18n-strings */
|
|
|
|
import _ from 'underscore';
|
|
|
|
import { GlTooltipDirective } from '@gitlab/ui';
|
|
|
|
import { __, sprintf } from '~/locale';
|
| ... | ... | @@ -342,7 +342,7 @@ export default { |
|
|
|
isLastDeployment() {
|
|
|
|
// name: 'last?' is a false positive: https://gitlab.com/gitlab-org/frontend/eslint-plugin-i18n/issues/26#possible-false-positives
|
|
|
|
// Vue i18n ESLint rules issue: https://gitlab.com/gitlab-org/gitlab-foss/issues/63560
|
|
|
|
// eslint-disable-next-line @gitlab/i18n/no-non-i18n-strings
|
|
|
|
// eslint-disable-next-line @gitlab/require-i18n-strings
|
|
|
|
return this.model && this.model.last_deployment && this.model.last_deployment['last?'];
|
|
|
|
},
|
|
|
|
|
| ... | ... | |
| ... | ... | |