|
@ -19,7 +19,7 @@ export default Vue.extend({ |
|
|
|
|
|
|
|
|
layout: 'project', |
|
|
layout: 'project', |
|
|
|
|
|
|
|
|
middleware: ['isProjectAdmin'], |
|
|
|
|
|
|
|
|
middleware: ['check-auth', 'auth', 'setCurrentProject', 'isProjectAdmin'], |
|
|
|
|
|
|
|
|
validate({ params, query, app }) { |
|
|
validate({ params, query, app }) { |
|
|
if (!['category', 'span', 'relation'].includes(query.type as string)) { |
|
|
if (!['category', 'span', 'relation'].includes(query.type as string)) { |
|
|