@solidjs/router 0.14.6 → 0.14.7
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/dist/data/action.js +3 -0
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/data/action.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1057,6 +1057,9 @@ function useSubmissions(fn, filter) {
|
|
|
1057
1057
|
if (property === $TRACK) return subs();
|
|
1058
1058
|
if (property === "pending") return subs().some(sub => !sub.result);
|
|
1059
1059
|
return subs()[property];
|
|
1060
|
+
},
|
|
1061
|
+
has(_, property) {
|
|
1062
|
+
return property in subs();
|
|
1060
1063
|
}
|
|
1061
1064
|
});
|
|
1062
1065
|
}
|