Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit f07c849

Browse files
committed
Expose handleSearchInput as function, renamed slot for table
1 parent 650352c commit f07c849

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Table/main.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<div class="table-responsive">
33

44
<slot
5-
name="toolbar"
5+
name="header"
66
:items="items"
77
:selected="mutableSelected"
8-
:handleSearchInput="{ input: value => query = value }"
8+
:handleSearchInput="value => query = value"
99
:disabledSearch="items.length === 0"
1010
></slot>
1111

@@ -133,7 +133,7 @@ export default {
133133
},
134134
emptyFilteredText: {
135135
type: String,
136-
default: 'There are no records matching your request',
136+
default: 'There are no records matching your request.',
137137
},
138138
},
139139
data() {

0 commit comments

Comments
 (0)