Skip to content

Commit

Permalink
Vue3: Fix warning for action in creator
Browse files Browse the repository at this point in the history
  • Loading branch information
dk981234 committed Nov 22, 2023
1 parent c1de09a commit ae7b955
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<div class="sv-action__content">
<sv-action-bar-separator
v-if="item.needSeparator"
:item="item"
></sv-action-bar-separator>
<component :is="componentName" :item="item"> </component>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
import type { Action } from "survey-core";
import { computed } from "vue";
const props = defineProps<{ item: Action }>();
const props = defineProps<{ item?: Action }>();
const innerCss = computed(() => props.item && props.item.innerCss);
</script>

0 comments on commit ae7b955

Please sign in to comment.