Skip to content

Commit

Permalink
renamed components
Browse files Browse the repository at this point in the history
  • Loading branch information
dartcafe committed Jan 29, 2020
1 parent 1fa091a commit c7bb4c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/js/components/SideBar/SideBarTabOptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@
<label class="icon-checkmark title"> {{ t('polls', 'As an admin you may edit this poll') }} </label>
</div>

<SideBarTabDateOptions v-if="acl.allowEdit && poll.type === 'datePoll'" />
<SideBarTabTextOptions v-if="acl.allowEdit && poll.type === 'textPoll'" />
<SideBarTabOptionsDate v-if="acl.allowEdit && poll.type === 'datePoll'" />
<SideBarTabOptionsText v-if="acl.allowEdit && poll.type === 'textPoll'" />
</div>
</template>

<script>
import { mapState } from 'vuex'
import SideBarTabDateOptions from './SideBarTabDateOptions'
import SideBarTabTextOptions from './SideBarTabTextOptions'
import SideBarTabOptionsDate from './SideBarTabOptionsDate'
import SideBarTabOptionsText from './SideBarTabOptionsText'

export default {
name: 'SideBarTabOptions',

components: {
SideBarTabDateOptions,
SideBarTabTextOptions
SideBarTabOptionsDate,
SideBarTabOptionsText
},

data() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ import { mapGetters, mapState } from 'vuex'
import PollItemDate from '../Base/PollItemDate'

export default {
name: 'SideBarTabDateOptions',
name: 'SideBarTabOptionsDate',

components: {
Multiselect,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
import { mapGetters, mapState } from 'vuex'
import PollItemText from '../Base/PollItemText'
export default {
name: 'SideBarTabTextOptions',
name: 'SideBarTabOptionsText',

components: {
PollItemText
Expand Down

0 comments on commit c7bb4c0

Please sign in to comment.