Country filters are reversed
Hi, i have a question regarding the Country management. When you apply a filter as "Disabled", all Enabled country's are shown and visa versa. Is this intended or a bug.
Oops. We'll fix. Thanks for the issue :)
I don't think this is a bug. The countries listed in the first image are all disabled. The green "ENABLE" button isn't there to show that country's status, it's there to enable the country.
The same, but opposite, can be said for the second image.
Ah, indeed this could be possible. @gsingh93 is the logic correct? If so you can close this issue.
Ah, you're right.
I think we should changed the button though to say the current state of the country, instead of the action that will be taken when clicking the button. So we would change "Enable" to "Disabled" and "Disable" to "Enabled". This has been confusing me from the beginning :P
Are you alright with that @javuto?
Yeah, we can do that. Makes sense.
This is already implemented here https://github.com/facebook/fbctf/commit/80b5b2cd367ca32acab67f9070865e97115e9b43
Still not fixed and missing button for disable/enable all.