- default routing to "/app/dashboard"
Some checks failed
CI Pipeline / japa-tests (push) Failing after 53s
Some checks failed
CI Pipeline / japa-tests (push) Failing after 53s
- default route after login "/app/dashboard" in AuthController.ts - npm updates - corrected route in menu.ts - better styling for listing datasets for editor and submitter in Index.vue - personal setting to route "/settings/user"
This commit is contained in:
parent
6fef581dd0
commit
0d51002903
10 changed files with 117 additions and 103 deletions
|
@ -27,7 +27,7 @@ export default class AuthController {
|
|||
}
|
||||
|
||||
// otherwise, redirect todashboard
|
||||
response.redirect('/dashboard');
|
||||
response.redirect('/app/dashboard');
|
||||
}
|
||||
|
||||
// logout function
|
||||
|
|
|
@ -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'))
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue