first version of import GUI

This commit is contained in:
Lukas F. Hartmann
2018-04-12 17:41:22 +02:00
parent 08b81d5ff4
commit 76f85aa538
7 changed files with 81 additions and 27 deletions

View File

@@ -304,6 +304,9 @@ module.exports = {
},
unpackArtifact: (a) => {
if (a.tags) {
a.tags = JSON.parse(a.tags);
}
if (a.control_points) {
a.control_points = JSON.parse(a.control_points);
}
@@ -314,6 +317,9 @@ module.exports = {
},
packArtifact: (a) => {
if (a.tags) {
a.tags = JSON.stringify(a.tags);
}
if (a.control_points) {
a.control_points = JSON.stringify(a.control_points);
}