@ludo.ninja/components 2.1.17 → 2.1.19
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.
|
@@ -70,7 +70,7 @@ const Subscription = () => {
|
|
|
70
70
|
variables: { authToken, notificationTypes: [api_1.notificationsSchema.INotificationType.Push] },
|
|
71
71
|
onData: (options) => {
|
|
72
72
|
const notification = options.data.data?.onNotification;
|
|
73
|
-
console.log("notification", notification);
|
|
73
|
+
// console.log("notification", notification);
|
|
74
74
|
if (notification) {
|
|
75
75
|
switch (notification.eventType) {
|
|
76
76
|
case api_1.notificationsSchema.IEventType.CommonOpportunity:
|
|
@@ -112,6 +112,9 @@ const CreationCard = ({ creationName, creation, isNeedHeight, likesDynamicInfo,
|
|
|
112
112
|
if (creation.getItemType() === ItemType_1.LabelKeys.asset) {
|
|
113
113
|
return `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["asset"]}/${href.replace(`/${ItemType_1.LabelKeys.asset}/`, "")}`;
|
|
114
114
|
}
|
|
115
|
+
if (creation.getItemType() === ItemType_1.LabelKeys.collection) {
|
|
116
|
+
return `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["collections"]}/${href.replace(`/${ItemType_1.LabelKeys.collection}/`, "")}`;
|
|
117
|
+
}
|
|
115
118
|
return href;
|
|
116
119
|
};
|
|
117
120
|
// const domain = ludoDomains[NEXT_PUBLIC_ENV_VALUE as TEnvValue]["app"];
|