datastake-daf 0.6.508 → 0.6.509
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/layouts/index.js
CHANGED
|
@@ -5241,16 +5241,10 @@ const Sidenav = ({
|
|
|
5241
5241
|
const checkOnClick = ({
|
|
5242
5242
|
event
|
|
5243
5243
|
}) => {
|
|
5244
|
-
console.log("
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
onYes: event
|
|
5249
|
-
});
|
|
5250
|
-
} else if (typeof event === 'function') {
|
|
5251
|
-
console.log("Event", event);
|
|
5252
|
-
event();
|
|
5253
|
-
}
|
|
5244
|
+
console.log("Check on click", event);
|
|
5245
|
+
changeNotificationState({
|
|
5246
|
+
onYes: event
|
|
5247
|
+
});
|
|
5254
5248
|
};
|
|
5255
5249
|
const {
|
|
5256
5250
|
hoverContent,
|
|
@@ -5317,12 +5311,11 @@ const Sidenav = ({
|
|
|
5317
5311
|
children: [renderModule({
|
|
5318
5312
|
module: userModule,
|
|
5319
5313
|
isCollapsed,
|
|
5320
|
-
onClick: () => {
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
},
|
|
5314
|
+
onClick: () => checkOnClick({
|
|
5315
|
+
event: () => {
|
|
5316
|
+
goTo(getRedirectLink(`/app`));
|
|
5317
|
+
}
|
|
5318
|
+
}),
|
|
5326
5319
|
mod,
|
|
5327
5320
|
user,
|
|
5328
5321
|
userHelpers
|
package/package.json
CHANGED
|
@@ -163,15 +163,9 @@ const Sidenav = ({
|
|
|
163
163
|
};
|
|
164
164
|
|
|
165
165
|
const checkOnClick = ({ event }) => {
|
|
166
|
-
console.log("
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
changeNotificationState({ onYes: event });
|
|
170
|
-
} else if (typeof event === 'function') {
|
|
171
|
-
console.log("Event", event);
|
|
172
|
-
event();
|
|
173
|
-
}
|
|
174
|
-
};
|
|
166
|
+
console.log("Check on click", event);
|
|
167
|
+
changeNotificationState({ onYes: event });
|
|
168
|
+
}
|
|
175
169
|
|
|
176
170
|
const { hoverContent, hoverContentSecond } = useMenu({
|
|
177
171
|
checkOnClick,
|
|
@@ -247,12 +241,11 @@ const Sidenav = ({
|
|
|
247
241
|
{renderModule({
|
|
248
242
|
module: userModule,
|
|
249
243
|
isCollapsed,
|
|
250
|
-
onClick: () => {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
},
|
|
244
|
+
onClick: () => checkOnClick({
|
|
245
|
+
event: () => {
|
|
246
|
+
goTo(getRedirectLink(`/app`));
|
|
247
|
+
}
|
|
248
|
+
}),
|
|
256
249
|
mod,
|
|
257
250
|
user,
|
|
258
251
|
userHelpers
|