Commit c6e54a74 authored by Jörg Richter's avatar Jörg Richter

Plugin can hide Topicmap Type menu item (#342)

parent b68c4019
Pipeline #9402 passed with stages
in 6 minutes and 5 seconds
......@@ -8,7 +8,7 @@
</div>
<div class="field">
<div class="field-label">Released</div>
Mar 24, 2020
Mar 26, 2020
</div>
<div class="field">
<div class="field-label">License</div>
......
......@@ -18,7 +18,7 @@ export default {
computed: {
topicmapTypes () {
return this.$store.state.topicmaps.topicmapTypes
return Object.values(this.$store.state.topicmaps.topicmapTypes).filter(type => !type.hidden)
}
}
}
......
......@@ -32,6 +32,7 @@ const state = {
// uri:
// name:
// renderer:
// hidden:
// }
// }
......
......@@ -9,7 +9,7 @@ import extraElementUI from './element-ui'
import 'font-awesome/css/font-awesome.css'
import './websocket'
console.log('[DMX] 2020/03/24')
console.log('[DMX] 2020/03/26')
// 1) Init dm5 library
// The dm5 library must be inited *before* the dm5-webclient component is instantiated.
......
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