diff --git a/package-lock.json b/package-lock.json index ba6330b..9ed68df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bimdata/bcf-components", - "version": "6.0.0", + "version": "6.0.1-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@bimdata/bcf-components", - "version": "6.0.0", + "version": "6.0.1-rc.1", "dependencies": { "async": "^3.2.4" }, diff --git a/package.json b/package.json index 13b13a2..87c6ae1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bimdata/bcf-components", - "version": "6.0.0", + "version": "6.0.1-rc.1", "files": [ "src", "vue3-plugin.js" diff --git a/src/components/bcf-settings/BcfSettings.vue b/src/components/bcf-settings/BcfSettings.vue index 59f9c94..131b0f2 100644 --- a/src/components/bcf-settings/BcfSettings.vue +++ b/src/components/bcf-settings/BcfSettings.vue @@ -80,15 +80,13 @@ export default { }, emits: ["back", "close", "extension-created", "extension-updated", "extension-deleted"], setup(props, { emit }) { - const service = useService(); - const createExtension = async (event) => { - const ext = await service.createExtension(props.project, event.extensionType, event.data); + const ext = await useService().createExtension(props.project, event.extensionType, event.data); emit("extension-created", ext); }; const updateExtension = async (event) => { - const ext = await service.updateExtension( + const ext = await useService().updateExtension( props.project, event.extensionType, event.extension, @@ -98,7 +96,7 @@ export default { }; const deleteExtension = async (event) => { - await service.deleteExtension(props.project, event.extensionType, event.extension); + await useService().deleteExtension(props.project, event.extensionType, event.extension); emit("extension-deleted", event.extension); }; diff --git a/src/components/bcf-topic-form/BcfTopicForm.vue b/src/components/bcf-topic-form/BcfTopicForm.vue index 1dde4fb..9201239 100644 --- a/src/components/bcf-topic-form/BcfTopicForm.vue +++ b/src/components/bcf-topic-form/BcfTopicForm.vue @@ -30,7 +30,6 @@