Commit 703ba0ff authored by Kertu Hiire's avatar Kertu Hiire Committed by GitHub

Merge pull request #10 from e-gov/hotfix/v7.1.1

Hotfix/v7.1.1 on December 11th 2017

fixes RIHAKB-488 & RK-22789
parents cfad9142 519b074b
......@@ -12,7 +12,7 @@
<parent>
<groupId>ee.ria.riha</groupId>
<artifactId>browser</artifactId>
<version>7.1.0-SNAPSHOT</version>
<version>7.1.1</version>
</parent>
<dependencies>
......
......@@ -25,7 +25,7 @@
"@angular/animations": "4.1.3",
"@angular/router": "4.1.3",
"tslib": "1.8.0",
"@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.26",
"@ng-bootstrap/ng-bootstrap": "1.0.0-beta.6",
"@ngx-translate/core": "^6.0.1",
"@ngx-translate/http-loader": "^0.0.3",
"angular-in-memory-web-api": "^0.3.2",
......@@ -34,7 +34,7 @@
"core-js": "^2.4.1",
"ng2-tag-input": "1.3.3",
"node-sass": "^4.5.3",
"rxjs": "^5.1.0",
"rxjs": "5.5.2",
"zone.js": "^0.8.4",
"ngx-toastr": "5.3.0",
"moment": "2.18.1",
......
......@@ -10,7 +10,7 @@
<parent>
<groupId>ee.ria.riha</groupId>
<artifactId>browser</artifactId>
<version>7.1.0-SNAPSHOT</version>
<version>7.1.1</version>
</parent>
<properties>
......
......@@ -35,7 +35,7 @@ export class ProducerEditContactsComponent implements OnInit {
saveSystem(){
this.systemsService.getSystem(this.system.details.short_name).then(res =>{
let s = res.json();
let s = new System(res.json());
s.details.contacts = this.contacts;
this.systemsService.updateSystem(s).then(response => {
this.modalService.closeActiveModal({system: new System(response.json())});
......
......@@ -55,7 +55,7 @@ export class ProducerEditDocumentsComponent implements OnInit {
saveSystem(){
this.systemsService.getSystem(this.system.details.short_name).then(res =>{
let s = res.json();
let s = new System(res.json());
s.details.documents = this.documents;
this.systemsService.updateSystem(s).then(response => {
this.modalService.closeActiveModal({system: new System(response.json())});
......
......@@ -47,7 +47,7 @@ export class ProducerEditLegislationsComponent implements OnInit {
saveSystem(){
this.systemsService.getSystem(this.system.details.short_name).then(res =>{
let s = res.json();
let s = new System(res.json());
s.details.legislations = this.legislations;
this.systemsService.updateSystem(s).then(response => {
this.modalService.closeActiveModal({system: new System(response.json())});
......
......@@ -77,7 +77,7 @@ export class ProducerEditObjectsComponent implements OnInit {
saveSystem(){
this.systemsService.getSystem(this.system.details.short_name).then(res =>{
let s = res.json();
let s = new System(res.json());
s.details.stored_data = this.stored_data;
s.details.data_files = this.data_files;
this.systemsService.updateSystem(s).then(response => {
......
......@@ -5,7 +5,7 @@
<groupId>ee.ria.riha</groupId>
<artifactId>browser</artifactId>
<version>7.1.0-SNAPSHOT</version>
<version>7.1.1</version>
<packaging>pom</packaging>
<name>RIHA-Browser</name>
......
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