diff --git a/packages/hoppscotch-ui/src/components/smart/Table.vue b/packages/hoppscotch-ui/src/components/smart/Table.vue index 040020f13..2c93a7a11 100644 --- a/packages/hoppscotch-ui/src/components/smart/Table.vue +++ b/packages/hoppscotch-ui/src/components/smart/Table.vue @@ -55,9 +55,9 @@ defineProps<{ /** Whether to show the vertical border between columns */ yBorder?: boolean /** The list of items to be displayed in the table */ - list: Item[] + list?: Item[] /** The headings of the table */ - headings: CellHeading[] + headings?: CellHeading[] }>() const emit = defineEmits<{ diff --git a/packages/hoppscotch-ui/src/stories/Table.story.vue b/packages/hoppscotch-ui/src/stories/Table.story.vue index ddcad4db1..73135f531 100644 --- a/packages/hoppscotch-ui/src/stories/Table.story.vue +++ b/packages/hoppscotch-ui/src/stories/Table.story.vue @@ -1,29 +1,31 @@ @@ -31,27 +33,26 @@