@capytale/meta-player 0.3.0 → 0.3.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/src/app.module.scss
CHANGED
|
@@ -174,8 +174,10 @@ export const useActivityJsEssentials = () => {
|
|
|
174
174
|
ab.assignmentNode.binaryData.value = data;
|
|
175
175
|
};
|
|
176
176
|
const hasAssignment = !!ab.assignmentNode;
|
|
177
|
+
const title = ab.title.value;
|
|
177
178
|
return {
|
|
178
179
|
mode,
|
|
180
|
+
title,
|
|
179
181
|
hasAssignment,
|
|
180
182
|
getActivityContent,
|
|
181
183
|
getAssignmentContent,
|
|
@@ -30,7 +30,9 @@ const ActivityInfo: React.FC = () => {
|
|
|
30
30
|
className={styles.activityLogo}
|
|
31
31
|
src={icon.path}
|
|
32
32
|
style={{
|
|
33
|
-
backgroundColor: icon.style
|
|
33
|
+
backgroundColor: icon.style
|
|
34
|
+
? icon.style["background-color"] || "white"
|
|
35
|
+
: "white",
|
|
34
36
|
}}
|
|
35
37
|
/>
|
|
36
38
|
)}
|