1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

Additions

This commit is contained in:
2020-05-20 18:00:14 +02:00
parent f5917de5d0
commit 6174ffb84e
8 changed files with 151 additions and 81 deletions

View File

@ -2,7 +2,7 @@
<div v-show="selectedWorkspace === connection.uid" class="workspace column columns">
<DatabaseExploreBar :connection="connection" />
<div class="workspace-tabs column">
<pre>{{ JSON.stringify(connection, null, 3) }}</pre>
<pre>{{ JSON.stringify(workspace.structure, null, 3) }}</pre>
</div>
</div>
</template>
@ -23,8 +23,11 @@ export default {
computed: {
...mapGetters({
selectedWorkspace: 'workspaces/getSelected',
getConnected: 'workspaces/getConnected'
})
getWorkspace: 'workspaces/getWorkspace'
}),
workspace () {
return this.getWorkspace(this.connection.uid);
}
},
async created () {
this.addWorkspace(this.connection.uid);
@ -47,5 +50,10 @@ export default {
.workspace{
padding: 0;
margin: 0;
.workspace-tabs{
overflow: auto;
height: calc(100vh - #{$footer-height});
}
}
</style>