mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 17:14:50 +00:00
feat: use postcard for redis serde (#6956)
* redo error handling in xredis * give proper types to metadata fields * add round-trip tests * inline loader enum metadata fields * postcard roundtrips * prepare * bump redis key version * serde-binhum * clippy * fix * fix frontend checking existence of component fields rather than non-null-ness * prepare
This commit is contained in:
@@ -2014,9 +2014,7 @@ const navLinks = computed(() => {
|
||||
label: formatMessage(messages.changelogTab),
|
||||
href: withInstallContextQuery(`${projectUrl}/changelog`),
|
||||
shown:
|
||||
hasVersions.value &&
|
||||
projectV3Loaded.value &&
|
||||
projectV3.value?.minecraft_server === undefined,
|
||||
hasVersions.value && projectV3Loaded.value && projectV3.value?.minecraft_server == null,
|
||||
onHover: loadVersions,
|
||||
},
|
||||
{
|
||||
@@ -2025,7 +2023,7 @@ const navLinks = computed(() => {
|
||||
shown:
|
||||
(hasVersions.value || !!currentMember.value) &&
|
||||
projectV3Loaded.value &&
|
||||
projectV3.value?.minecraft_server === undefined,
|
||||
projectV3.value?.minecraft_server == null,
|
||||
subpages: [`${projectUrl}/version/`],
|
||||
onHover: loadVersions,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user