Add router link to Status component
This commit is contained in:
parent
cfa85c1e04
commit
5fe5b38c13
1 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<router-link :to="{ name: 'StatusShow', params: { id: status.id }}">
|
||||||
<el-card v-if="!status.deleted" class="status-card">
|
<el-card v-if="!status.deleted" class="status-card">
|
||||||
<div slot="header">
|
<div slot="header">
|
||||||
<div class="status-header">
|
<div class="status-header">
|
||||||
|
@ -15,7 +15,6 @@
|
||||||
<h3 class="status-account-name deactivated"> (deactivated)</h3>
|
<h3 class="status-account-name deactivated"> (deactivated)</h3>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="status-actions">
|
<div class="status-actions">
|
||||||
<el-tag v-if="status.sensitive" type="warning" size="large">{{ $t('reports.sensitive') }}</el-tag>
|
<el-tag v-if="status.sensitive" type="warning" size="large">{{ $t('reports.sensitive') }}</el-tag>
|
||||||
|
@ -116,7 +115,7 @@
|
||||||
{{ parseTimestamp(status.created_at) }}
|
{{ parseTimestamp(status.created_at) }}
|
||||||
</a>
|
</a>
|
||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</router-link>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in a new issue