mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 12:05:53 +00:00
pnpm prepr
This commit is contained in:
@@ -11,10 +11,10 @@
|
||||
:no-options-message="formatMessage(messages.noGameVersionsFound)"
|
||||
trigger-class="!rounded-xl !bg-button-bg !px-3 !py-2"
|
||||
dropdown-class="!rounded-xl"
|
||||
select-search-text-on-focus
|
||||
@update:model-value="selectGameVersion"
|
||||
@search-input="versionFilter = $event"
|
||||
@close="versionFilter = ''"
|
||||
select-search-text-on-focus
|
||||
>
|
||||
<template #option="{ item, isSelected }">
|
||||
<div
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
<Avatar :src="project.icon_url" :alt="project.title" class="icon" size="32px" />
|
||||
<div
|
||||
ref="downloadTitleRef"
|
||||
class="truncate text-lg font-extrabold text-contrast"
|
||||
v-tooltip="truncatedTooltip(downloadTitleRef, downloadTitle)"
|
||||
class="truncate text-lg font-extrabold text-contrast"
|
||||
>
|
||||
{{ downloadTitle }}
|
||||
</div>
|
||||
|
||||
@@ -1112,10 +1112,7 @@ function getOnlyCompatibleDependencyVersion(
|
||||
version.loaders.some((loader) => loaders.includes(loader)),
|
||||
)
|
||||
.slice()
|
||||
.sort(
|
||||
(a, b) =>
|
||||
new Date(b.date_published).getTime() - new Date(a.date_published).getTime(),
|
||||
)
|
||||
.sort((a, b) => new Date(b.date_published).getTime() - new Date(a.date_published).getTime())
|
||||
const targetKeys = new Set(
|
||||
compatibleVersions.flatMap((version) =>
|
||||
version.game_versions.flatMap((gameVersion) =>
|
||||
|
||||
Reference in New Issue
Block a user