diff --git a/js/package.json b/js/package.json index bb1cfaa0..089289bc 100644 --- a/js/package.json +++ b/js/package.json @@ -72,14 +72,14 @@ "@types/prosemirror-view": "^1.11.4", "@typescript-eslint/eslint-plugin": "^4.18.0", "@typescript-eslint/parser": "^4.18.0", - "@vue/cli-plugin-babel": "~5.0.0-beta.2", - "@vue/cli-plugin-e2e-cypress": "~5.0.0-beta.2", - "@vue/cli-plugin-eslint": "~5.0.0-beta.2", - "@vue/cli-plugin-pwa": "~5.0.0-beta.2", - "@vue/cli-plugin-router": "~5.0.0-beta.2", - "@vue/cli-plugin-typescript": "~5.0.0-beta.2", - "@vue/cli-plugin-unit-jest": "~5.0.0-beta.2", - "@vue/cli-service": "~5.0.0-beta.2", + "@vue/cli-plugin-babel": "~5.0.0-beta.3", + "@vue/cli-plugin-e2e-cypress": "~5.0.0-beta.3", + "@vue/cli-plugin-eslint": "~5.0.0-beta.3", + "@vue/cli-plugin-pwa": "~5.0.0-beta.3", + "@vue/cli-plugin-router": "~5.0.0-beta.3", + "@vue/cli-plugin-typescript": "~5.0.0-beta.3", + "@vue/cli-plugin-unit-jest": "~5.0.0-beta.3", + "@vue/cli-service": "~5.0.0-beta.3", "@vue/eslint-config-prettier": "^6.0.0", "@vue/eslint-config-typescript": "^7.0.0", "@vue/test-utils": "^1.1.0", @@ -89,10 +89,11 @@ "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-vue": "^7.6.0", "flush-promises": "^1.0.2", + "jest": "^26.6.3", "jest-junit": "^12.0.0", "mock-apollo-client": "^1.1.0", "prettier": "^2.2.1", - "prettier-eslint": "^12.0.0", + "prettier-eslint": "^13.0.0", "sass": "^1.34.1", "sass-loader": "^12.0.0", "ts-jest": "^26.5.3", diff --git a/js/src/types/event.model.ts b/js/src/types/event.model.ts index c724e0aa..85bfd22a 100644 --- a/js/src/types/event.model.ts +++ b/js/src/types/event.model.ts @@ -207,7 +207,8 @@ export class EventModel implements IEvent { } } -function removeTypeName(entity: any): any { +// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types +export function removeTypeName(entity: any): any { if (entity?.__typename) { // eslint-disable-next-line @typescript-eslint/no-unused-vars const { __typename, ...purgedEntity } = entity; diff --git a/js/src/views/Event/Edit.vue b/js/src/views/Event/Edit.vue index 8cb7fdff..d8602039 100644 --- a/js/src/views/Event/Edit.vue +++ b/js/src/views/Event/Edit.vue @@ -161,7 +161,7 @@ v-if="config && config.anonymous.participation.allowed" > - + {{ $t("I want to allow people to participate without an account.") }} @@ -200,18 +200,18 @@ @@ -221,7 +221,7 @@
{{ $t("Allow all comments from users with accounts") }} - + @@ -238,7 +238,7 @@
{{ $t("Close comments for all (except for admins)") }}