quickfixed `getResourceTypes` to work when no resources
quickfixed `getResourceTypes` to work when no resources

hiqdev/hipanel-module-finance,hiqdev/hipanel-module-finance,hiqdev/hipanel-module-finance