Skip to content

Commit

Permalink
Fix UI minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
LEIYOUSU committed Oct 28, 2024
1 parent b5db2e4 commit f81ce26
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import AttachmentGroupBadge from "./AttachmentGroupBadge.vue";
import AttachmentGroupEditingModal from "./AttachmentGroupEditingModal.vue";
import AttachmentPolicyBadge from "./AttachmentPolicyBadge.vue";
import AttachmentPolicyEditingModal from "./AttachmentPolicyEditingModal.vue";
import AttachmentGroupEditingModal from "./AttachmentGroupEditingModal.vue";
import UppyUpload from "@/components/upload/UppyUpload.vue";
const emit = defineEmits<{
(event: "close"): void;
Expand Down Expand Up @@ -145,14 +143,14 @@ const onGroupEditingModalClose = async () => {
@click="selectedGroupName = group.metadata.name"
/>

<AttachmentGroupBadge @click="handleOpenCreateNewGroupModal">
<AttachmentPolicyBadge @click="handleOpenCreateNewGroupModal">
<template #text>
<span>{{ $t("core.common.buttons.new") }}</span>
</template>
<template #actions>
<IconAddCircle />
</template>
</AttachmentGroupBadge>
</AttachmentPolicyBadge>
</div>
<UppyUpload
endpoint="/apis/api.console.halo.run/v1alpha1/attachments/upload"
Expand Down

0 comments on commit f81ce26

Please sign in to comment.