Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thooyork committed Jun 24, 2024
1 parent bbcf22f commit 2c41e34
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions client/src/components/AiSummaryDialog.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
<template>
<div class="modal fade modal-lg" id="aiModal" tabindex="-1" role="dialog" aria-labelledby="aiModalLabel"
aria-hidden="true">
<div class="modal fade modal-lg" id="aiModal" tabindex="-1" role="dialog" aria-labelledby="aiModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="aiModalLabel">{{ t("ai.summary.dialog.title") }}</h5>
</div>
<div class="modal-body">
<div v-for="(d, i) in data" v-bind:key="i" class="summary-container">
<ai-summary :summary-data="d" @add-tag="addTag($event)" @update-description="acceptDescription($event)"
@remove-ai-summary="$emit('removeAiSummary', d)" @set-keyvisual="setKeyvisual($event)"></ai-summary>
<ai-summary
:summary-data="d"
@add-tag="addTag($event)"
@update-description="acceptDescription($event)"
@remove-ai-summary="$emit('removeAiSummary', d)"
@set-keyvisual="setKeyvisual($event)"
></ai-summary>
</div>
</div>
<div class="modal-footer">
Expand Down Expand Up @@ -45,7 +49,7 @@ const emits = defineEmits(["acceptDescription", "canceled", "addTag", "removeAiS
watch(props, () => {
if (modalOpen.value != props.show) {
const myModal = new Modal(document.getElementById("aiModal") || "", { backdrop : "static" });
const myModal = new Modal(document.getElementById("aiModal") || "", { backdrop: "static" });
props.show ? myModal?.show() : myModal.hide();
modalOpen.value = props.show || false;
}
Expand Down

0 comments on commit 2c41e34

Please sign in to comment.