mirror of
https://github.com/modrinth/code.git
synced 2026-07-31 21:26:40 +00:00
fix: content selection bar not showing in ModpackContentModal
This commit is contained in:
@@ -95,6 +95,7 @@ interface Props {
|
||||
ariaLabel?: string
|
||||
getItemId?: (item: ContentItem) => string
|
||||
toggleItems?: ContentItem[]
|
||||
hideWhenModalOpen?: boolean
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
@@ -111,6 +112,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
ariaLabel: undefined,
|
||||
getItemId: undefined,
|
||||
toggleItems: undefined,
|
||||
hideWhenModalOpen: true,
|
||||
})
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -181,7 +183,11 @@ const bulkProgressMessage = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<FloatingActionBar :shown="shown" :aria-label="ariaLabel" hide-when-modal-open>
|
||||
<FloatingActionBar
|
||||
:shown="shown"
|
||||
:aria-label="ariaLabel"
|
||||
:hide-when-modal-open="hideWhenModalOpen"
|
||||
>
|
||||
<div class="flex items-center gap-0.5">
|
||||
<div
|
||||
v-if="selectedItems.length > 0"
|
||||
|
||||
@@ -662,6 +662,7 @@ defineExpose({ show, showLoading, hide, getState, restore, updateItem, setItems
|
||||
:selected-items="selectedItems"
|
||||
:is-busy="props.actionDisabled"
|
||||
:busy-tooltip="props.actionDisabledTooltip"
|
||||
:hide-when-modal-open="false"
|
||||
style="--left-bar-width: 0px; --right-bar-width: 0px"
|
||||
@clear="selectedIds = []"
|
||||
@enable="bulkEnable"
|
||||
|
||||
Reference in New Issue
Block a user