Charitable Contributions and NY IT-558

I'm filing an IT-203 as a NY nonresident.  On my federal return, I took advantage of the $300 charitable donations deduction, which from what I read, has to be added back when filing NY taxes via form IT-558

 

TurboTax is asking me two questions I'm unsure of what to fill out:

 

1. Under the New York Nonresident Deductions page, it asks: Enter any federal deductions attributable to the period of your New York nonresidency.  It lists out the $300 deduction for charitable contributions and asks for the NY source portion.

 

2. Late on, under Deductions for Charitable Contributions page, it asks: Enter the New York portion of the charitable contribution deduction and again lists out the $300 deduction and asks for the NY source portion.

 

I'm not sure if both need to be $300 or $0? The donation was made as a nonresident to a charity in NY - not sure if that matters either way.