fix a bug where the resources list was not updated after main type resource creation
fix a bug where the resources list was not updated after main type resource creation

codarchlab/idai-field-client,codarchlab/idai-field-client,codarchlab/idai-field-client,codarchlab/idai-field-client