goblin-desktop 4.2.1 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goblin-desktop",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "description": "Goblin Desktop",
5
5
  "main": "./builders/builders.js",
6
6
  "scripts": {
@@ -205,9 +205,7 @@ class Hinter extends Widget {
205
205
  }
206
206
 
207
207
  onNew() {
208
- const model = this.getRouting().get('location.hash').substring(1);
209
- const value = this.getBackendState(model);
210
- this.do('create-new', {value});
208
+ this.do('create-new', {value: ''});
211
209
  }
212
210
 
213
211
  validate() {
@@ -39,10 +39,8 @@ class HinterNewButton extends Widget {
39
39
  }
40
40
 
41
41
  onNew() {
42
- const model = this.getRouting().get('location.hash').substring(1);
43
- const value = model ?? this.getBackendState(model);
44
42
  this.doFor(this.props.id, 'create-new', {
45
- value,
43
+ value: '',
46
44
  });
47
45
  }
48
46