# Has to be a bug - logic not working on icon and group

**URL:** <https://forum.bubble.io/t/has-to-be-a-bug-logic-not-working-on-icon-and-group/149114>\
**Category:** Need help\
**Created:** [May 1, 2021, 1:41pm UTC](https://forum.bubble.io/t/has-to-be-a-bug-logic-not-working-on-icon-and-group/149114 "2021-05-01T13:41:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChefThomas](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chefthomas/32/88144_2.png) [@ChefThomas](https://forum.bubble.io/u/ChefThomas)\
**Post date:** [May 1, 2021, 1:41pm UTC](https://forum.bubble.io/t/has-to-be-a-bug-logic-not-working-on-icon-and-group/149114/1 "2021-05-01T13:41:21Z")

</div>

after 2 hours, I tried the logic backwards and it works… backwards 🤷‍♀️ - this has to be a bug, right? no other explanation for this…

---

<div class="post-metadata">

**Author:** ![ChefThomas](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chefthomas/32/88144_2.png) [@ChefThomas](https://forum.bubble.io/u/ChefThomas)\
**Post date:** [May 1, 2021, 1:56pm UTC](https://forum.bubble.io/t/has-to-be-a-bug-logic-not-working-on-icon-and-group/149114/2 "2021-05-01T13:56:56Z")

</div>

current user is saved in the database as:

![1](https://us1.discourse-cdn.com/bubble/original/3X/7/8/786e3d60b587decb1f3d3e344d7f01425c17dc38.png)

the icon on page load with a conditional icon:

![2](https://us1.discourse-cdn.com/bubble/original/3X/0/f/0f9ab4e244c31ec1c7aa2202649312a3340fe052.png)

the condition:

![3](https://us1.discourse-cdn.com/bubble/original/3X/0/9/0906ca2a245eb4f1bd2000ce88f14a8126862e95.png)

the page refreshed

![4](https://us1.discourse-cdn.com/bubble/original/3X/d/3/d36184818fd6e5ca71a20a4fdda90347970ed6ac.png)

this is also impacting a “show/hide” group - it’s all working, but as long as I do all the logic backwards?! 😅 - my fear is that when this bug gets fixed, I’ll have to go back and fix it.

---

<div class="post-metadata">

**Author:** ![ChefThomas](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chefthomas/32/88144_2.png) [@ChefThomas](https://forum.bubble.io/u/ChefThomas)\
**Post date:** [May 1, 2021, 1:59pm UTC](https://forum.bubble.io/t/has-to-be-a-bug-logic-not-working-on-icon-and-group/149114/3 "2021-05-01T13:59:38Z")

</div>

my privacy settings

🤦‍♂️🤦‍♂️🤦‍♂️

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [May 1, 2021, 2:01pm UTC](https://forum.bubble.io/t/has-to-be-a-bug-logic-not-working-on-icon-and-group/149114/4 "2021-05-01T14:01:32Z")

</div>

@ChefThomas

You are only telling the element to work based on ONLY ONE of the two possible outcomes

That list can either:

1. Contain an object (in this case … current user)

2. Not contain an object (current user)

It does not matter what icon you are using (closed or not) … the element is only receiving half of what it needs to act logically…

If you assign the second possible outcome to the condition things should work the way you want them. 😀

---

<div class="post-metadata">

**Author:** ![ChefThomas](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chefthomas/32/88144_2.png) [@ChefThomas](https://forum.bubble.io/u/ChefThomas)\
**Post date:** [May 1, 2021, 2:02pm UTC](https://forum.bubble.io/t/has-to-be-a-bug-logic-not-working-on-icon-and-group/149114/5 "2021-05-01T14:02:41Z")

</div>

![Screenshot 2021-05-01 150115](https://us1.discourse-cdn.com/bubble/original/3X/d/5/d5ce6f81247ddfc515fcd1c421e063329c5ddb70.png)

All working now just because I didn’t have this damn box checked 🤣🤣🤣

ALWAYS ADJUST PRIVACY SETTINGS WHEN ADDING A NEW FEATURE!

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [May 1, 2021, 2:04pm UTC](https://forum.bubble.io/t/has-to-be-a-bug-logic-not-working-on-icon-and-group/149114/6 "2021-05-01T14:04:04Z")

</div>

Ok … got it. The icon is set to a type in the first place … so your are working on both possible outcomes. My bad.

Great that you sorted it out 😀

---

<div class="post-metadata">

**Author:** ![ChefThomas](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chefthomas/32/88144_2.png) [@ChefThomas](https://forum.bubble.io/u/ChefThomas)\
**Post date:** [May 1, 2021, 2:06pm UTC](https://forum.bubble.io/t/has-to-be-a-bug-logic-not-working-on-icon-and-group/149114/7 "2021-05-01T14:06:01Z")

</div>

Thanks, @cmarchan - I did have that sorted though.

 ![Screenshot 2021-05-01 150428](https://us1.discourse-cdn.com/bubble/original/3X/4/f/4ffef1dd9484db0c36a4ede860ecdc5c5912bc36.png)

I think I will not delete this thread and let the world see how big of an idiot I am - AND, to keep it in mind for people in the future.

😁

You’re awesome, thanks for always trying to help!

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [May 1, 2021, 2:11pm UTC](https://forum.bubble.io/t/has-to-be-a-bug-logic-not-working-on-icon-and-group/149114/8 "2021-05-01T14:11:18Z")

</div>

Thanks for your kind words.

I am sure that most folks who have dealt with programming feel that precisely what you experienced have given them confidence on what they are doing,

This baby is about an endless merry go round of problem solving. It never stops but you get on it with more confidence each time around! 😀

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [July 10, 2021, 1:42pm UTC](https://forum.bubble.io/t/has-to-be-a-bug-logic-not-working-on-icon-and-group/149114/9 "2021-07-10T13:42:02Z")

</div>

This topic was automatically closed after 70 days. New replies are no longer allowed.
