modrinth / theseus

AKA the Modrinth App, a launcher for Minecraft: Java Edition with a clean look, easy-to-use interface, and deep integration into Modrinth services.
https://modrinth.app
GNU General Public License v3.0
744 stars 116 forks source link

If the mod is owned by an organization, the owner is not visible #1229

Open Shihyeon opened 2 weeks ago

Shihyeon commented 2 weeks ago

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

  1. Install a mod (e.g. Mod Menu mod) owned by organization on the instance.
  2. 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.

image

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.