Skip to content

Commit

Permalink
Release/1.41.0 (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
volarname authored Jan 3, 2024
1 parent 2c202a9 commit 63bd9ad
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 135 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## [1.41.0](https://github.com/anzusystems/common-admin/compare/1.40.0...1.41.0) (2024-01-03)

### Features
* **chore:** updated dependencies

### Bug Fixes
* **initDamNotifications:** fix for not triggering event bus

### BREAKING CHANGES
* **dependencies:** new vue required version `[email protected]`

## [1.40.0](https://github.com/anzusystems/common-admin/compare/1.39.0...1.40.0) (2024-01-02)

### Features
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"./styles": "./dist/style.css",
"./*": "./*"
},
"version": "1.40.0",
"version": "1.41.0",
"type": "module",
"license": "Apache-2.0",
"scripts": {
Expand Down Expand Up @@ -70,9 +70,9 @@
"postcss-prefix-selector": "^1.16.0",
"prettier": "^3.1.1",
"rusha": "^0.8.14",
"sass": "^1.69.6",
"sass": "^1.69.7",
"shortcut-buttons-flatpickr": "^0.4.0",
"socket.io-client": "^4.7.2",
"socket.io-client": "^4.7.3",
"sortablejs": "^1.15.1",
"stylelint": "16.1.0",
"stylelint-config-recommended-vue": "^1.5.0",
Expand All @@ -82,8 +82,8 @@
"vite": "5.0.10",
"vite-plugin-dts": "^3.7.0",
"vite-plugin-vuetify": "^2.0.1",
"vitepress": "1.0.0-rc.34",
"vue": "3.4.3",
"vitepress": "1.0.0-rc.35",
"vue": "3.4.4",
"vue-flatpickr-component": "^11.0.3",
"vue-i18n": "9.8.0",
"vue-router": "4.2.5",
Expand All @@ -100,7 +100,7 @@
"dayjs": "1.11.10",
"flatpickr": "4.6.13",
"pinia": "2.1.7",
"vue": "3.4.3",
"vue": "3.4.4",
"vue-i18n": "9.8.0",
"vue-router": "4.2.5",
"vuetify": "3.4.9"
Expand Down
24 changes: 0 additions & 24 deletions src/components/damImage/uploadQueue/composables/damConfigState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,6 @@ import {
} from '@/components/damImage/uploadQueue/composables/damAssetCustomFormApi'
import { reactive, shallowRef } from 'vue'

// const createDefaultExtSystemConfig = (override: Partial<DamExtSystemConfigItem> = {}): DamExtSystemConfigItem => ({
// ...({
// sizeLimit: 0,
// defaultFileVersion: '',
// versions: [],
// mimeTypes: [],
// distribution: {
// distributionServices: [],
// distributionRequirements: {},
// },
// keywords: {
// enabled: false,
// required: false,
// },
// authors: {
// enabled: false,
// required: false,
// },
// customMetadataPinnedAmount: 1,
// slots: [],
// } as DamExtSystemConfigItem),
// ...override,
// })

const initialized = reactive<{
damPubConfig: boolean
damPrvConfig: boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ export function initDamNotifications() {
const eventBus = useDamNotificationsEventBus()
open()
if (!ws.value) return
// important: if you remove ws.value.onopen, it will stop working
ws.value.onopen = function () {
console.log('notification-server connected')
}
ws.value.onerror = function (this: WebSocket) {
const { showWarning } = useAlerts()
setTimeout(() => {
Expand Down
Loading

0 comments on commit 63bd9ad

Please sign in to comment.