Commit 40046918 authored by anton's avatar anton

Fix adding id to Piecemaker media cells

parent 5a4a5785
......@@ -35,6 +35,7 @@
<script>
import { mapGetters } from 'vuex'
import constants from 'mbjs-data-models/src/constants'
import parseURI from 'mbjs-data-models/src/lib/parse-uri'
export default {
data () {
......@@ -72,7 +73,7 @@
source: {
value: {
id: item.id,
sourceUuid: item._uuid,
sourceUuid: item.id ? parseURI(item.id).uuid : undefined,
content: component === 'CellMedia' ? item.body.source.id : item.id
}
}
......
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