code
code copied to clipboard
If the mod is owned by an organization, the owner is not visible
Describe the bug
If the owner of the project is an organization rather than a user, the owner will not be visible in the modrinth-theseus launcher instance.
Steps to reproduce
- Install a mod (e.g. Mod Menu mod) owned by organization on the instance.
- Check the owner of the mod within the instance in the library
Expected behavior
If the owner is a user, the user name is displayed; if the owner is an organization, nothing is displayed.
System information
Windows 11 Home 23H2 Theseus v0.7.1
Additional context
modmenu and worldedit are owned by organizations.
I think, /theseus_gui/src/pages/instance/Mods.vue#L225 /theseus_gui/src/pages/instance/Mods.vue#L454
<Avatar :src="mod.icon" />
<div v-tooltip="`${mod.name} by ${mod.author}`" class="mod-text">
<div class="title">{{ mod.name }}</div>
<span class="no-wrap">by {{ mod.author }}</span>
</div>
When loading {{ mod.author }}, there is no logic to load the organization.