mirror of
https://github.com/directus/directus.git
synced 2026-01-28 06:58:02 -05:00
Consolidate lodash imports (#8156)
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user