@etsoo/react 1.3.61 → 1.3.62
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/lib/app/ReactApp.js +2 -1
- package/package.json +1 -1
- package/src/app/ReactApp.ts +3 -1
package/lib/app/ReactApp.js
CHANGED
|
@@ -38,7 +38,7 @@ export function ReactAppStateDetector(props) {
|
|
|
38
38
|
matchedFields === null || matchedFields === void 0 ? void 0 : matchedFields.push(targetField);
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
console.log('ReactAppStateDetector', state);
|
|
41
|
+
console.log('ReactAppStateDetector', state, authorized, matchedFields);
|
|
42
42
|
// Ready
|
|
43
43
|
React.useEffect(() => {
|
|
44
44
|
// Callback
|
|
@@ -64,6 +64,7 @@ export class ReactApp extends CoreApp {
|
|
|
64
64
|
this.userState = new UserState();
|
|
65
65
|
this.cultureState = new CultureState(settings.currentCulture);
|
|
66
66
|
this.pageState = new PageState();
|
|
67
|
+
globalApp = this;
|
|
67
68
|
}
|
|
68
69
|
/**
|
|
69
70
|
* Get notifier provider
|
package/package.json
CHANGED
package/src/app/ReactApp.ts
CHANGED
|
@@ -67,7 +67,7 @@ export function ReactAppStateDetector(props: IStateProps) {
|
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
console.log('ReactAppStateDetector', state);
|
|
70
|
+
console.log('ReactAppStateDetector', state, authorized, matchedFields);
|
|
71
71
|
|
|
72
72
|
// Ready
|
|
73
73
|
React.useEffect(() => {
|
|
@@ -195,6 +195,8 @@ export class ReactApp<
|
|
|
195
195
|
);
|
|
196
196
|
this.cultureState = new CultureState(settings.currentCulture);
|
|
197
197
|
this.pageState = new PageState<P>();
|
|
198
|
+
|
|
199
|
+
globalApp = this;
|
|
198
200
|
}
|
|
199
201
|
|
|
200
202
|
/**
|