diff --git a/app/Controllers/Http/Auth/AuthController.ts b/app/Controllers/Http/Auth/AuthController.ts index 8d16f3b..19b4bee 100644 --- a/app/Controllers/Http/Auth/AuthController.ts +++ b/app/Controllers/Http/Auth/AuthController.ts @@ -27,7 +27,7 @@ export default class AuthController { } // otherwise, redirect todashboard - response.redirect('/dashboard'); + response.redirect('/app/dashboard'); } // logout function diff --git a/app/Controllers/Http/Editor/DatasetController.ts b/app/Controllers/Http/Editor/DatasetController.ts index 2189bb0..625a207 100644 --- a/app/Controllers/Http/Editor/DatasetController.ts +++ b/app/Controllers/Http/Editor/DatasetController.ts @@ -55,7 +55,8 @@ export default class DatasetsController { .orWhere((dQuery) => { dQuery .whereIn('server_state', ['editor_accepted', 'rejected_reviewer', 'reviewed', 'published']) - .where('editor_id', user.id); + .where('editor_id', user.id) + .doesntHave('identifier', 'and'); }) .preload('titles') .preload('user', (query) => query.select('id', 'login')) diff --git a/package-lock.json b/package-lock.json index 684535f..6f2e8fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4144,9 +4144,9 @@ } }, "node_modules/@types/luxon": { - "version": "3.3.5", - "resolved": "https://registry.npmjs.org/@types/luxon/-/luxon-3.3.5.tgz", - "integrity": "sha512-1cyf6Ge/94zlaWIZA2ei1pE6SZ8xpad2hXaYa5JEFiaUH0YS494CZwyi4MXNpXD9oEuv6ZH0Bmh0e7F9sPhmZA==" + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@types/luxon/-/luxon-3.3.6.tgz", + "integrity": "sha512-LblarKeI26YsMLxHDIQ0295wPSLjkl98eNwDcVhz3zbo1H+kfnkzR01H5Ai5LBzSeddX0ZJSpGwKEZihGb5diw==" }, "node_modules/@types/md5": { "version": "2.3.5", @@ -8194,9 +8194,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/electron-to-chromium": { - "version": "1.4.597", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.597.tgz", - "integrity": "sha512-0XOQNqHhg2YgRVRUrS4M4vWjFCFIP2ETXcXe/0KIQBjXE9Cpy+tgzzYfuq6HGai3hWq0YywtG+5XK8fyG08EjA==", + "version": "1.4.600", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.600.tgz", + "integrity": "sha512-KD6CWjf1BnQG+NsXuyiTDDT1eV13sKuYsOUioXkQweYTQIbgHkXPry9K7M+7cKtYHnSUPitVaLrXYB1jTkkYrw==", "dev": true }, "node_modules/emittery": { @@ -12309,9 +12309,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.13", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", - "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", "dev": true }, "node_modules/node-repl-await": { @@ -15930,9 +15930,9 @@ } }, "node_modules/svgo": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/svgo/-/svgo-3.0.4.tgz", - "integrity": "sha512-T+Xul3JwuJ6VGXKo/p2ndqx1ibxNKnLTvRc1ZTWKCfyKS/GgNjRZcYsK84fxTsy/izr91g/Rwx6fGnVgaFSI5g==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-3.0.5.tgz", + "integrity": "sha512-HQKHEo73pMNOlDlBcLgZRcHW2+1wo7bFYayAXkGN0l/2+h68KjlfZyMRhdhaGvoHV2eApOovl12zoFz42sT6rQ==", "dev": true, "dependencies": { "@trysound/sax": "0.2.0", diff --git a/resources/css/_table.css b/resources/css/_table.css index f02fb7e..48c3635 100644 --- a/resources/css/_table.css +++ b/resources/css/_table.css @@ -32,9 +32,9 @@ table { @apply border-b-0; } - tbody tr, tbody tr:nth-child(odd) { + /* tbody tr, tbody tr:nth-child(odd) { @apply lg:hover:bg-gray-100 lg:dark:hover:bg-slate-700/70; - } + } */ tbody tr:nth-child(odd) { @apply lg:bg-gray-50 lg:dark:bg-slate-800; diff --git a/resources/js/Components/NavBar.vue b/resources/js/Components/NavBar.vue index e330809..f8d4a36 100644 --- a/resources/js/Components/NavBar.vue +++ b/resources/js/Components/NavBar.vue @@ -133,7 +133,7 @@ const logout = async () => {