Import specific parts of lodash where possible

This commit is contained in:
Oliver Davies 2019-06-25 00:38:04 +01:00
parent f19d85b17a
commit 8e17cc3103
3 changed files with 6 additions and 6 deletions

View file

@ -58,7 +58,7 @@
</template>
<script>
import _ from 'lodash'
import sortBy from 'lodash/sortBy'
import ApiClient from '@/api-client.js'
import ApplicationCard from '@/components/Application/ApplicationCard'
import ApplicationDisplaySwitcher from '@/components/Application/ApplicationDisplaySwitcher'
@ -80,7 +80,7 @@ export default {
computed: {
sortedApplications: function () {
return _.sortBy(this.applications, [function (a) { return a.name }])
return sortBy(this.applications, [function (a) { return a.name }])
}
},