use 3 attr instead of if statement for item.progress
Merge pull request #12797 from gtmanfred/develop

use 3 attr instead of if statement for item.progress