diff app/query-app.component.ts @ 10:66dce99cef4e

attribute contains works now.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Wed, 20 Jan 2016 17:02:00 +0100
parents fa646ee46c19
children 98b435bb6c0c
line wrap: on
line diff
--- a/app/query-app.component.ts	Wed Jan 20 11:32:31 2016 +0100
+++ b/app/query-app.component.ts	Wed Jan 20 17:02:00 2016 +0100
@@ -38,12 +38,11 @@
     
     addQueryStep() {
         this.querySteps.push({'mode': null});
-        //this.queryState = this._queryService.getState();
     }
     
     removeQueryStep() {
+        this.querySteps.pop();
         this._queryService.state.steps.pop();
-        //this.queryState = this._queryService.getState();
     }
     
     onQueryChanged(event: any) {