eliminate expandable prop in favor of inConversation
This commit is contained in:
parent
081f9a926a
commit
1455e1f9d5
3 changed files with 1 additions and 3 deletions
|
@ -13,7 +13,6 @@
|
|||
:key="status.id"
|
||||
:inlineExpanded="collapsable"
|
||||
:statusoid="status"
|
||||
:expandable='!isExpanded'
|
||||
:focused="focused(status.id)"
|
||||
:inConversation="isExpanded"
|
||||
:highlight="getHighlight()"
|
||||
|
|
|
@ -18,7 +18,6 @@ const Status = {
|
|||
name: 'Status',
|
||||
props: [
|
||||
'statusoid',
|
||||
'expandable',
|
||||
'inConversation',
|
||||
'focused',
|
||||
'highlight',
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<a :href="status.external_url" target="_blank" v-if="!status.is_local && !isPreview" class="source_url" title="Source">
|
||||
<i class="button-icon icon-link-ext-alt"></i>
|
||||
</a>
|
||||
<template v-if="expandable && !isPreview">
|
||||
<template v-if="!inConversation && !isPreview">
|
||||
<a href="#" @click.prevent="toggleExpanded" title="Expand">
|
||||
<i class="button-icon icon-plus-squared"></i>
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue