Fixing issue with using 'ta' in view name.
This commit is contained in:
parent
4ff9de1b6c
commit
4fae8b2b1e
|
@ -133,7 +133,7 @@ exports.fetchView = async ctx => {
|
|||
const viewName = ctx.params.viewName
|
||||
|
||||
// if this is a table view being looked for just transfer to that
|
||||
if (viewName.includes(DocumentTypes.TABLE)) {
|
||||
if (viewName.startsWith(DocumentTypes.TABLE)) {
|
||||
ctx.params.tableId = viewName
|
||||
return exports.fetch(ctx)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue