Skip to content

Commit

Permalink
fix(snippets): delete fragments
Browse files Browse the repository at this point in the history
  • Loading branch information
antonreshetov committed Mar 31, 2022
1 parent 07d7f8c commit 453fc05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/renderer/components/snippets/SnippetFragments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
:class="{ 'is-active': index == snippetStore.fragment }"
@click="onClickFragment(index)"
>
<SnippetsFragmentsInput :name="i" />
<SnippetsFragmentsInput
:name="i"
:index="index"
/>
</div>
</div>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import type { ContextMenuPayload, ContextMenuResponse } from '@@/types'
interface Props {
name: string
index: number
}
const props = defineProps<Props>()
Expand Down

0 comments on commit 453fc05

Please sign in to comment.