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

Adapt to `dm5` library (model `type` getter)

parent e20033f9
Pipeline #6572 passed with stages
in 3 minutes and 5 seconds
......@@ -23,7 +23,7 @@ export default {
computed: {
type () {
return this.object.getType()
return this.object.type
},
// TODO: copy in dm5-value-renderer.vue
......
......@@ -23,7 +23,7 @@ export default {
computed: {
type () {
return this.object.getType()
return this.object.type
},
// TODO: copy in dm5-value-renderer.vue
......
......@@ -9,7 +9,7 @@ import 'font-awesome/css/font-awesome.css'
import './element-ui'
import './websocket'
console.log('[DMX] 2019/05/23')
console.log('[DMX] 2019/05/25')
// 1) Init dm5 library
// The dm5 library must be inited *before* the dm5-webclient component is instantiated.
......
......@@ -238,6 +238,7 @@ public class WorkspacesPlugin extends PluginActivator implements WorkspacesServi
@Override
public List<Topic> getAssignedTopics(@PathParam("id") long workspaceId,
@PathParam("topic_type_uri") String topicTypeUri) {
// TODO: optimization. Use getRelatedTopics() by using "Workspace Assignment" type.
List<Topic> topics = dmx.getTopicsByType(topicTypeUri);
applyWorkspaceFilter(topics.iterator(), workspaceId);
return topics;
......
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