Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Use kebab-case for vue names
Browse files Browse the repository at this point in the history
  • Loading branch information
mutze85 committed Apr 4, 2019
1 parent c3096e9 commit 5c431d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/scripts/js/es6/common/vuecomponents/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const TEMPLATE =`
:projectId="projectId"
:selectedIds="currentSelectedIds"
:componentState="initialTableState"
@selectItemsChanged="onSelectItemsChanged"
@componentStateChanged="onTableStateChanged"
@selected-items-changed="onSelectItemsChanged"
@component-state-changed="onTableStateChanged"
/>
</div>
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ const TEMPLATE =`
<name-filter
:rowObjects="rowObjects"
:componentState="(componentState || {}).nameFilter"
@visibleRowObjectsChanged="onNameFiltered"
@componentStateChanged="onNameFilterStateChanged"
@visible-row-objects-changed="onNameFiltered"
@component-state-changed="onNameFilterStateChanged"
/>
<status-filter
:availableStatuses="availableStatuses"
:rowObjects="nameFilteredRowObjects"
:componentState="(componentState || {}).statusFilter"
@visibleRowObjectsChanged="$emit('visibleRowObjectsChanged', ...arguments)"
@componentStateChanged="onStatusFilterStateChanged"
@visible-row-objects-changed="$emit('visible-row-objects-changed', ...arguments)"
@component-state-changed="onStatusFilterStateChanged"
/>
</div>
`;
Expand Down Expand Up @@ -72,7 +72,7 @@ let RowFilter = {
},
watch: {
currentComponentState(newValue) {
this.$emit('componentStateChanged', newValue);
this.$emit('component-state-changed', newValue);
}
},
components: {
Expand Down

0 comments on commit 5c431d3

Please sign in to comment.