Quantity Fix for Assigned Usage Quantity having Null

index.view.js:
Introduced a fix that resets Quantity to 1 if the quantity is synced
from the server as null.