Commit 806f6612 authored by christianrhansen's avatar christianrhansen

routes-adjustment

parent f9c36b2b
Subproject commit 6498b3f92e7c38167c7cd3985949261088b00cf5
Subproject commit eeef3a6d1d69cca4256961a8f2695ab1af18f472
import table from './annotations-table'
import annotate from './annotate'
import create from './create'
import edit from './edit'
......@@ -5,6 +6,7 @@ import list from './list'
import session from './session'
export {
table,
annotate,
create,
edit,
......
......@@ -85,6 +85,12 @@
}
],
actions: [
{
type: 'annotations-table',
title: 'buttons.annotations-table',
color: 'primary',
click: (item) => _this.$router.push({ name: 'piecemaker.videos.table', params: { id: item.uuid } })
},
{
type: 'live-annotate',
title: 'buttons.annotate',
......
......@@ -88,6 +88,12 @@ export default {
name: 'piecemaker.videos.annotate',
meta: {private: true}
},
{
path: '/piecemaker/videos/:id/table',
component: () => import('pages/piecemaker/videos/annotations-table'),
name: 'piecemaker.videos.table',
meta: {private: true}
},
{
path: '/piecemaker/videos/:id/edit',
component: () => import('pages/piecemaker/videos/edit'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment