@selfcommunity/react-ui 0.8.0-alpha.11 → 0.8.0-alpha.12
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.
|
@@ -119,7 +119,7 @@ function NavigationToolbar(inProps) {
|
|
|
119
119
|
const eventsEnabled = (0, react_1.useMemo)(() => scPreferences.preferences &&
|
|
120
120
|
scPreferences.features &&
|
|
121
121
|
scPreferences.features.includes(types_1.SCFeatureName.TAGGING) &&
|
|
122
|
-
react_core_1.SCPreferences.CONFIGURATIONS_EVENTS_ENABLED in preferences &&
|
|
122
|
+
react_core_1.SCPreferences.CONFIGURATIONS_EVENTS_ENABLED in scPreferences.preferences &&
|
|
123
123
|
scPreferences.preferences[react_core_1.SCPreferences.CONFIGURATIONS_EVENTS_ENABLED].value, [scPreferences.preferences, scPreferences.features]);
|
|
124
124
|
const showComposer = (0, react_1.useMemo)(() => {
|
|
125
125
|
return (!disableComposer &&
|
|
@@ -117,7 +117,7 @@ export default function NavigationToolbar(inProps) {
|
|
|
117
117
|
const eventsEnabled = useMemo(() => scPreferences.preferences &&
|
|
118
118
|
scPreferences.features &&
|
|
119
119
|
scPreferences.features.includes(SCFeatureName.TAGGING) &&
|
|
120
|
-
SCPreferences.CONFIGURATIONS_EVENTS_ENABLED in preferences &&
|
|
120
|
+
SCPreferences.CONFIGURATIONS_EVENTS_ENABLED in scPreferences.preferences &&
|
|
121
121
|
scPreferences.preferences[SCPreferences.CONFIGURATIONS_EVENTS_ENABLED].value, [scPreferences.preferences, scPreferences.features]);
|
|
122
122
|
const showComposer = useMemo(() => {
|
|
123
123
|
return (!disableComposer &&
|