Commit 74436402 authored by Malte Reißig's avatar Malte Reißig

Open tableview in now browser window (#3). Thanks for testing + reporting.

parent 2b90c8ef
<template>
<div class="dmx-tableview-renderer">
<div class="dmx-tableview-command">
<div class="composite-title field">
<h2 class="field-value">{{object.value}}</h2>
<!--h2 class="command" @click="openTableView(object.id)">Open Tableview</h2-->
<a v-bind:href="'/systems.dmx.tableview/#/' + object.id">Open Tableview</a>
<el-button @click="openTableView(object.id)">Open Tableview</el-button>
</div>
</div>
</template>
......@@ -20,8 +19,7 @@ export default {
methods: {
openTableView: function (topicId) {
// this.$store.dispatch("revealTopicById", topicId);
window.document.location.url = "/tableview/#/" + topicId;
window.open("/systems.dmx.tableview/#/" + topicId, "_blank")
}
}
......
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