Compare commits

..

5 Commits

Author SHA1 Message Date
renovate 1245fdcf50 chore(deps): update dev-dependencies
continuous-integration/drone/pr Build is failing Details
2024-03-28 21:07:40 +00:00
renovate 176c41dc40 fix(deps): update dependency express to v4.19.2
continuous-integration/drone/push Build is passing Details
2024-03-28 20:57:07 +00:00
waza-ari c4d3d99cd4 fix: pick first available view if currently configured view got deleted (#2235)
continuous-integration/drone/push Build is failing Details
Resolves #2232

Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com>
Reviewed-on: #2235
Reviewed-by: konrad <k@knt.li>
Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
2024-03-28 20:55:52 +00:00
renovate 30b4ed6b23 fix(deps): update dependency dompurify to v3.0.11
continuous-integration/drone/push Build is failing Details
2024-03-28 20:53:00 +00:00
renovate aed92d1cd2 fix(deps): update sentry-javascript monorepo to v7.108.0
continuous-integration/drone/push Build is failing Details
2024-03-28 20:49:17 +00:00
5 changed files with 67 additions and 67 deletions

View File

@ -56,6 +56,6 @@
},
"dependencies": {
"connect-history-api-fallback": "2.0.0",
"express": "4.19.0"
"express": "4.19.2"
}
}

View File

@ -830,10 +830,10 @@ etag@~1.8.1:
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==
express@4.19.0:
version "4.19.0"
resolved "https://registry.yarnpkg.com/express/-/express-4.19.0.tgz#c9f689a62522f3399132d49eacd9af177d8ccb9e"
integrity sha512-/ERliX0l7UuHEgAy7HU2FRsiz3ScIKNl/iwnoYzHTJC0Sqj3ctWDD3MQ9CbUEfjshvxXImWaeukD0Xo7a2lWLA==
express@4.19.2:
version "4.19.2"
resolved "https://registry.yarnpkg.com/express/-/express-4.19.2.tgz#e25437827a3aa7f2a827bc8171bbbb664a356465"
integrity sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==
dependencies:
accepts "~1.3.8"
array-flatten "1.1.1"

View File

@ -58,8 +58,8 @@
"@infectoone/vue-ganttastic": "2.3.1",
"@intlify/unplugin-vue-i18n": "3.0.1",
"@kyvg/vue3-notification": "3.2.1",
"@sentry/tracing": "7.107.0",
"@sentry/vue": "7.107.0",
"@sentry/tracing": "7.108.0",
"@sentry/vue": "7.108.0",
"@tiptap/core": "2.2.4",
"@tiptap/extension-blockquote": "2.2.4",
"@tiptap/extension-bold": "2.2.4",
@ -103,7 +103,7 @@
"camel-case": "4.1.2",
"date-fns": "3.6.0",
"dayjs": "1.11.10",
"dompurify": "3.0.10",
"dompurify": "3.0.11",
"fast-deep-equal": "3.1.3",
"flatpickr": "4.6.13",
"flexsearch": "0.7.31",

View File

@ -38,11 +38,11 @@ dependencies:
specifier: 3.2.1
version: 3.2.1(vue@3.4.21)
'@sentry/tracing':
specifier: 7.107.0
version: 7.107.0
specifier: 7.108.0
version: 7.108.0
'@sentry/vue':
specifier: 7.107.0
version: 7.107.0(vue@3.4.21)
specifier: 7.108.0
version: 7.108.0(vue@3.4.21)
'@tiptap/core':
specifier: 2.2.4
version: 2.2.4(@tiptap/pm@2.2.4)
@ -173,8 +173,8 @@ dependencies:
specifier: 1.11.10
version: 1.11.10
dompurify:
specifier: 3.0.10
version: 3.0.10
specifier: 3.0.11
version: 3.0.11
fast-deep-equal:
specifier: 3.1.3
version: 3.1.3
@ -2655,7 +2655,7 @@ packages:
engines: {node: '>= 16'}
dependencies:
'@intlify/shared': 9.10.1
source-map-js: 1.2.0
source-map-js: 1.1.0
dev: false
/@intlify/message-compiler@9.10.2:
@ -3056,45 +3056,45 @@ packages:
resolution: {integrity: sha512-ih6xH1dOGBTP/RNc/QbnVLLa/s80SkXydI7tnyq+a2eIdd7gDsmSpD1Jz7T1oCa+GIsVTyQCR3cW0tlYB97iFg==}
dev: true
/@sentry-internal/feedback@7.107.0:
resolution: {integrity: sha512-okF0B9AJHrpkwNMxNs/Lffw3N5ZNbGwz4uvCfyOfnMxc7E2VfDM18QzUvTBRvNr3bA9wl+InJ+EMG3aZhyPunA==}
/@sentry-internal/feedback@7.108.0:
resolution: {integrity: sha512-8JcgZEnk1uWrXJhsd3iRvFtEiVeaWOEhN0NZwhwQXHfvODqep6JtrkY1yCIyxbpA37aZmrPc2JhyotRERGfUjg==}
engines: {node: '>=12'}
dependencies:
'@sentry/core': 7.107.0
'@sentry/types': 7.107.0
'@sentry/utils': 7.107.0
'@sentry/core': 7.108.0
'@sentry/types': 7.108.0
'@sentry/utils': 7.108.0
dev: false
/@sentry-internal/replay-canvas@7.107.0:
resolution: {integrity: sha512-dmDL9g3QDfo7axBOsVnpiKdJ/DXrdeuRv1AqsLgwzJKvItsv0ZizX0u+rj5b1UoxcwbXRMxJ0hit5a1yt3t/ow==}
/@sentry-internal/replay-canvas@7.108.0:
resolution: {integrity: sha512-R5tvjGqWUV5vSk0N1eBgVW7wIADinrkfDEBZ9FyKP2mXHBobsyNGt30heJDEqYmVqluRqjU2NuIRapsnnrpGnA==}
engines: {node: '>=12'}
dependencies:
'@sentry/core': 7.107.0
'@sentry/replay': 7.107.0
'@sentry/types': 7.107.0
'@sentry/utils': 7.107.0
'@sentry/core': 7.108.0
'@sentry/replay': 7.108.0
'@sentry/types': 7.108.0
'@sentry/utils': 7.108.0
dev: false
/@sentry-internal/tracing@7.107.0:
resolution: {integrity: sha512-le9wM8+OHBbq7m/8P7JUJ1UhSPIty+Z/HmRXc5Z64ODZcOwFV6TmDpYx729IXDdz36XUKmeI+BeM7yQdTTZPfQ==}
/@sentry-internal/tracing@7.108.0:
resolution: {integrity: sha512-zuK5XsTsb+U+hgn3SPetYDAogrXsM16U/LLoMW7+TlC6UjlHGYQvmX3o+M2vntejoU1QZS8m1bCAZSMWEypAEw==}
engines: {node: '>=8'}
dependencies:
'@sentry/core': 7.107.0
'@sentry/types': 7.107.0
'@sentry/utils': 7.107.0
'@sentry/core': 7.108.0
'@sentry/types': 7.108.0
'@sentry/utils': 7.108.0
dev: false
/@sentry/browser@7.107.0:
resolution: {integrity: sha512-KnqaQDhxv6w9dJ+mYLsNwPeGZfgbpM3vaismBNyJCKLgWn2V75kxkSq+bDX8LQT/13AyK7iFp317L6P8EuNa3g==}
/@sentry/browser@7.108.0:
resolution: {integrity: sha512-FNpzsdTvGvdHJMUelqEouUXMZU7jC+dpN7CdT6IoHVVFEkoAgrjMVUhXZoQ/dmCkdKWHmFSQhJ8Fm6V+e9Aq0A==}
engines: {node: '>=8'}
dependencies:
'@sentry-internal/feedback': 7.107.0
'@sentry-internal/replay-canvas': 7.107.0
'@sentry-internal/tracing': 7.107.0
'@sentry/core': 7.107.0
'@sentry/replay': 7.107.0
'@sentry/types': 7.107.0
'@sentry/utils': 7.107.0
'@sentry-internal/feedback': 7.108.0
'@sentry-internal/replay-canvas': 7.108.0
'@sentry-internal/tracing': 7.108.0
'@sentry/core': 7.108.0
'@sentry/replay': 7.108.0
'@sentry/types': 7.108.0
'@sentry/utils': 7.108.0
dev: false
/@sentry/cli@2.19.1:
@ -3113,53 +3113,53 @@ packages:
- supports-color
dev: true
/@sentry/core@7.107.0:
resolution: {integrity: sha512-C7ogye6+KPyBi8NVL0P8Rxx3Ur7Td8ufnjxosVy678lqY+dcYPk/HONROrzUFYW5fMKWL4/KYnwP+x9uHnkDmw==}
/@sentry/core@7.108.0:
resolution: {integrity: sha512-I/VNZCFgLASxHZaD0EtxZRM34WG9w2gozqgrKGNMzAymwmQ3K9g/1qmBy4e6iS3YRptb7J5UhQkZQHrcwBbjWQ==}
engines: {node: '>=8'}
dependencies:
'@sentry/types': 7.107.0
'@sentry/utils': 7.107.0
'@sentry/types': 7.108.0
'@sentry/utils': 7.108.0
dev: false
/@sentry/replay@7.107.0:
resolution: {integrity: sha512-BNJDEVaEwr/YnV22qnyVA1almx/3p615m3+KaF8lPo7YleYgJGSJv1auH64j1G8INkrJ0J0wFBujb1EFjMYkxA==}
/@sentry/replay@7.108.0:
resolution: {integrity: sha512-jo8fDOzcZJclP1+4n9jUtVxTlBFT9hXwxhAMrhrt70FV/nfmCtYQMD3bzIj79nwbhUtFP6pN39JH1o7Xqt1hxQ==}
engines: {node: '>=12'}
dependencies:
'@sentry-internal/tracing': 7.107.0
'@sentry/core': 7.107.0
'@sentry/types': 7.107.0
'@sentry/utils': 7.107.0
'@sentry-internal/tracing': 7.108.0
'@sentry/core': 7.108.0
'@sentry/types': 7.108.0
'@sentry/utils': 7.108.0
dev: false
/@sentry/tracing@7.107.0:
resolution: {integrity: sha512-nxOmwlJgx9gW1c0EWtTWQxOBLxcgCGNOT2LezZTcGZ0G0Fw4y5Y+pNY0f8hP4rcJdNHhXzetEOR/I3Jauix+fw==}
/@sentry/tracing@7.108.0:
resolution: {integrity: sha512-wfAEEK1pa/PieFjVHv7Li4z280WcL+1Eg4tL8xN8/yq1oPFHLhjOmWRvKN9cm818N8ntZIFB0jGLu4ETM5jDCw==}
engines: {node: '>=8'}
dependencies:
'@sentry-internal/tracing': 7.107.0
'@sentry-internal/tracing': 7.108.0
dev: false
/@sentry/types@7.107.0:
resolution: {integrity: sha512-H7qcPjPSUWHE/Zf5bR1EE24G0pGVuJgrSx8Tvvl5nKEepswMYlbXHRVSDN0gTk/E5Z7cqf+hUBOpkQgZyps77w==}
/@sentry/types@7.108.0:
resolution: {integrity: sha512-bKtHITmBN3kqtqE5eVvL8mY8znM05vEodENwRpcm6TSrrBjC2RnwNWVwGstYDdHpNfFuKwC8mLY9bgMJcENo8g==}
engines: {node: '>=8'}
dev: false
/@sentry/utils@7.107.0:
resolution: {integrity: sha512-C6PbN5gHh73MRHohnReeQ60N8rrLYa9LciHue3Ru2290eSThg4CzsPnx4SzkGpkSeVlhhptKtKZ+hp/ha3iVuw==}
/@sentry/utils@7.108.0:
resolution: {integrity: sha512-a45yEFD5qtgZaIFRAcFkG8C8lnDzn6t4LfLXuV4OafGAy/3ZAN3XN8wDnrruHkiUezSSANGsLg3bXaLW/JLvJw==}
engines: {node: '>=8'}
dependencies:
'@sentry/types': 7.107.0
'@sentry/types': 7.108.0
dev: false
/@sentry/vue@7.107.0(vue@3.4.21):
resolution: {integrity: sha512-nUUaa5s2W7UmgjavoksoBlduc6mePZmo4k3y5lXPhSvZ92FcidLZItRUkwubaUBHgu8zvRxkTeXGhbqfWN4Ukg==}
/@sentry/vue@7.108.0(vue@3.4.21):
resolution: {integrity: sha512-hnqL/LIq3i4dJVMFq0oP8OP5ybMRYcW5dhtzlJFKo3A9i0BRzC4VUUcDnm1zTT9Um1YIU19mOy0cJBGplRQB9g==}
engines: {node: '>=8'}
peerDependencies:
vue: 2.x || 3.x
dependencies:
'@sentry/browser': 7.107.0
'@sentry/core': 7.107.0
'@sentry/types': 7.107.0
'@sentry/utils': 7.107.0
'@sentry/browser': 7.108.0
'@sentry/core': 7.108.0
'@sentry/types': 7.108.0
'@sentry/utils': 7.108.0
vue: 3.4.21(typescript@5.4.3)
dev: false
@ -5329,8 +5329,8 @@ packages:
domelementtype: 2.3.0
dev: true
/dompurify@3.0.10:
resolution: {integrity: sha512-WZDL8ZHTliEVP3Lk4phtvjg8SNQ3YMc5WVstxE8cszKZrFjzI4PF4ZTIk9VGAc9vZADO7uGO2V/ZiStcRSAT4Q==}
/dompurify@3.0.11:
resolution: {integrity: sha512-Fan4uMuyB26gFV3ovPoEoQbxRRPfTu3CvImyZnhGq5fsIEO+gEFLp45ISFt+kQBWsK5ulDdT0oV28jS1UrwQLg==}
dev: false
/domutils@2.8.0:

View File

@ -26,7 +26,7 @@ const currentView = computed(() => {
})
function redirectToFirstViewIfNecessary() {
if (viewId === 0) {
if (viewId === 0 || !projectStore.projects[projectId]?.views.find(v => v.id === viewId)) {
// Ideally, we would do that in the router redirect, but the projects (and therefore, the views)
// are not always loaded then.
const firstViewId = projectStore.projects[projectId]?.views[0].id