@ledvance/ui-biz-bundle 1.1.31 → 1.1.32
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
|
@@ -146,7 +146,7 @@ const MoodPage = () => {
|
|
|
146
146
|
}, [])
|
|
147
147
|
|
|
148
148
|
const updateFlagMode = () =>{
|
|
149
|
-
if(flagMode && params.isSupportColor){
|
|
149
|
+
if(flagMode?.flagMode && params.isSupportColor){
|
|
150
150
|
saveFlagMode(deviceInfo.devId, JSON.stringify({
|
|
151
151
|
flagMode: false,
|
|
152
152
|
flagId: undefined
|
|
@@ -200,7 +200,7 @@ const MoodPage = () => {
|
|
|
200
200
|
renderItem={({ item }) => {
|
|
201
201
|
return (
|
|
202
202
|
<MoodItem
|
|
203
|
-
enable={workMode === SCENE && state.currentScene?.id === item.id}
|
|
203
|
+
enable={workMode === SCENE && state.currentScene?.id === item.id && !flagMode?.flagMode}
|
|
204
204
|
mood={item}
|
|
205
205
|
onPress={() => {
|
|
206
206
|
if (item.nodes.length > 1) {
|