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
package/widgets/hinter/widget.js
CHANGED
|
@@ -205,9 +205,7 @@ class Hinter extends Widget {
|
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
onNew() {
|
|
208
|
-
|
|
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() {
|
package/widgets/search/widget.js
CHANGED
|
@@ -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
|
|