Standard deduction applied to state return?

Just want to make sure this is correct. 

1. Part year resident of both UT and AZ

2. on my AZ return it applies Standard Deduction to reduce my taxable income

Federal Adjusted Gross income =100,000

AZ sourced income = 40000

Less: Standard deduction 15750

 

3. I dont remember the same calculation done for my UT return

 

Just want to make sure this is correct either way

a. SD is correctly applied to AZ in this case

b. I don't need to go to UT state filing and remove SD amount from the income I made while in UT