diff --git a/lib/components/base/Avatar.vue b/lib/components/base/Avatar.vue index 38556c3b1..e5f01e654 100644 --- a/lib/components/base/Avatar.vue +++ b/lib/components/base/Avatar.vue @@ -60,7 +60,7 @@ export default { }, loading: { type: String, - default: 'eager', + default: 'lazy', }, }, data() { diff --git a/lib/components/base/DropdownButton.vue b/lib/components/base/DropdownButton.vue index f0ebd5fa7..0e3edf029 100644 --- a/lib/components/base/DropdownButton.vue +++ b/lib/components/base/DropdownButton.vue @@ -143,6 +143,7 @@ const toggleDropdown = () => { const selectOption = (option, index) => { radioValue.value = option emit('change', { option, index }) + emit('option-click', { option: selectedOption.value }) dropdownVisible.value = false } @@ -197,6 +198,10 @@ onBeforeUnmount(() => { border-radius: var(--radius-md) 0 0 0; } } + + .btn { + height: 2.25rem; + } } .selected { diff --git a/lib/components/base/Promotion.vue b/lib/components/base/Promotion.vue index b11151aa6..5bcd20b45 100644 --- a/lib/components/base/Promotion.vue +++ b/lib/components/base/Promotion.vue @@ -4,7 +4,7 @@
@@ -12,7 +12,7 @@ Host your Minecraft server on BisectHosting - - get 25% your first month with code MODRINTH. + - get 25% off your first month with code MODRINTH.
@@ -33,6 +33,10 @@ const props = defineProps({ type: Boolean, default: true, }, + queryParam: { + type: String, + default: '', + }, }) const target = computed(() => (props.external ? '_blank' : '_self')) diff --git a/lib/components/search/Categories.vue b/lib/components/search/Categories.vue index 3f93b4edd..54ff9d889 100644 --- a/lib/components/search/Categories.vue +++ b/lib/components/search/Categories.vue @@ -21,10 +21,6 @@ export default { return [] }, }, - type: { - type: String, - required: true, - }, }, methods: { formatCategory, diff --git a/package.json b/package.json index ef8791241..e5a743c6e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "omorphia", "type": "module", - "version": "0.4.37", + "version": "0.4.38", "files": [ "dist", "lib"