Consolidate lodash imports (#8156)

This commit is contained in:
Azri Kahar
2021-09-20 15:43:36 +08:00
committed by GitHub
parent e3c18b8ea4
commit 36362153fa
2 changed files with 2 additions and 4 deletions

View File

@@ -87,8 +87,7 @@ import { useCollectionsStore, useRelationsStore, useFieldsStore, usePermissionsS
import DrawerItem from '@/views/private/components/drawer-item';
import DrawerCollection from '@/views/private/components/drawer-collection';
import { Filter, Field, Relation } from '@directus/shared/types';
import { isEqual, sortBy } from 'lodash';
import { get } from 'lodash';
import { get, isEqual, sortBy } from 'lodash';
import { unexpectedError } from '@/utils/unexpected-error';
import { getFieldsFromTemplate } from '@directus/shared/utils';
import { addRelatedPrimaryKeyToFields } from '@/utils/add-related-primary-key-to-fields';

View File

@@ -25,11 +25,10 @@ import { defineComponent, ref } from 'vue';
import api from '@/api';
import { Activity, ActivityByDate } from './types';
import CommentInput from './comment-input.vue';
import { groupBy } from 'lodash';
import { groupBy, orderBy } from 'lodash';
import formatLocalized from '@/utils/localized-format';
import { isToday, isYesterday, isThisYear } from 'date-fns';
import CommentItem from './comment-item.vue';
import { orderBy } from 'lodash';
export default defineComponent({
components: { CommentInput, CommentItem },