diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-14 00:08:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-14 00:08:59 +0300 |
commit | d466ee5042520ad078fe050cb078d81dc2ebe196 (patch) | |
tree | 5648eb1aee8aeff5b5c5ff4669a184fd7676f778 /app/assets/javascripts/serverless | |
parent | 6a9d7c009e4e5975a89bcc3e458da4b3ec484bd1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/serverless')
-rw-r--r-- | app/assets/javascripts/serverless/components/function_details.vue | 4 | ||||
-rw-r--r-- | app/assets/javascripts/serverless/components/function_row.vue | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/serverless/components/function_details.vue b/app/assets/javascripts/serverless/components/function_details.vue index d542dad8119..2ac57ac5bcb 100644 --- a/app/assets/javascripts/serverless/components/function_details.vue +++ b/app/assets/javascripts/serverless/components/function_details.vue @@ -1,5 +1,5 @@ <script> -import _ from 'underscore'; +import { isString } from 'lodash'; import { mapState, mapActions, mapGetters } from 'vuex'; import PodBox from './pod_box.vue'; import Url from './url.vue'; @@ -42,7 +42,7 @@ export default { return this.func.name; }, description() { - return _.isString(this.func.description) ? this.func.description : ''; + return isString(this.func.description) ? this.func.description : ''; }, funcUrl() { return this.func.url; diff --git a/app/assets/javascripts/serverless/components/function_row.vue b/app/assets/javascripts/serverless/components/function_row.vue index dca0e01b250..bbafdd7f8f1 100644 --- a/app/assets/javascripts/serverless/components/function_row.vue +++ b/app/assets/javascripts/serverless/components/function_row.vue @@ -1,5 +1,5 @@ <script> -import _ from 'underscore'; +import { isString } from 'lodash'; import Timeago from '~/vue_shared/components/time_ago_tooltip.vue'; import Url from './url.vue'; import { visitUrl } from '~/lib/utils/url_utility'; @@ -20,7 +20,7 @@ export default { return this.func.name; }, description() { - if (!_.isString(this.func.description)) { + if (!isString(this.func.description)) { return ''; } |