You've already forked AstralRinth
forked from didirus/AstralRinth
New gallery creation/editing/deleting UI (#826)
* New gallery creation/editing/deleting UI * Finish new gallery UI * port dp changes here * Add ordering fix optional fields * Fix dropping * Fix fmt * Fix version creation broken, edit issues, project type setting * Update gallery in search
This commit is contained in:
@@ -365,7 +365,11 @@
|
||||
:id="result.slug ? result.slug : result.project_id"
|
||||
:key="result.project_id"
|
||||
:display="$cosmetics.searchDisplayMode[projectType.id]"
|
||||
:gallery-images="result.gallery"
|
||||
:gallery-images="
|
||||
result.featured_gallery
|
||||
? result.featured_gallery
|
||||
: result.gallery[0]
|
||||
"
|
||||
:type="result.project_type"
|
||||
:author="result.author"
|
||||
:name="result.title"
|
||||
@@ -383,6 +387,7 @@
|
||||
:hide-loaders="
|
||||
['resourcepack', 'datapack'].includes(projectType.id)
|
||||
"
|
||||
:color="result.color"
|
||||
/>
|
||||
<div v-if="results && results.length === 0" class="no-results">
|
||||
<p>No results found for your query!</p>
|
||||
@@ -966,6 +971,11 @@ export default {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.square-button {
|
||||
margin-top: auto;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user