Skip to content

Commit fdc26d6

Browse files
max-nextcloudbackportbot[bot]
authored andcommitted
chore(import): from @nextcloud/vue functions
The corresponding chunks are much smaller than NcRichText. Reduces `references` file size from 1M to < 500k. Signed-off-by: Max <max@nextcloud.com>
1 parent 60a910b commit fdc26d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/reference.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import './init-shared.js'
88
import Vue from 'vue'
99
import { translate as t } from '@nextcloud/l10n'
1010

11-
import { registerCustomPickerElement, NcCustomPickerRenderResult } from '@nextcloud/vue/dist/Components/NcRichText.js'
11+
import { registerCustomPickerElement, NcCustomPickerRenderResult } from '@nextcloud/vue/dist/Functions/registerReference.js'
1212

1313
import DocumentTargetPicker from './view/DocumentTargetPicker.vue'
1414

0 commit comments

Comments
 (0)