Commit 32358ca2 authored by Anton's avatar Anton

Add conditional redirect based on USE_GENERIC_ANNOTATION as named route piecemaker.default

parent f78094d2
......@@ -4,7 +4,10 @@ export default {
children: [
{
path: '/piecemaker',
redirect: {name: 'piecemaker.media.list_generic'}
name: 'piecemaker.default',
redirect: {
name: process.env.USE_GENERIC_ANNOTATION ? 'piecemaker.media.list_generic' : 'piecemaker.timelines.list'
}
},
{
......
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