Import specific parts of lodash where possible
This commit is contained in:
parent
f19d85b17a
commit
8e17cc3103
3 changed files with 6 additions and 6 deletions
|
|
@ -14,7 +14,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import _ from 'lodash'
|
||||
import reverse from 'lodash/reverse'
|
||||
import TaskLogItem from '@/components/Environment/TaskLog/TaskLogItem'
|
||||
|
||||
export default {
|
||||
|
|
@ -30,7 +30,7 @@ export default {
|
|||
reversedTasks: function () {
|
||||
let tasks = this.tasks
|
||||
|
||||
return _.reverse(tasks)
|
||||
return reverse(tasks)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue