[S] Move unread property to css class
This commit is contained in:
@@ -25,8 +25,9 @@
|
|||||||
<span class="score entry-box">{{assignment.score}}</span>
|
<span class="score entry-box">{{assignment.score}}</span>
|
||||||
<span class="max entry-box">{{assignment.scoreMax}}</span>
|
<span class="max entry-box">{{assignment.scoreMax}}</span>
|
||||||
|
|
||||||
<el-button class="mark-as-read" size="mini" type="text"
|
<el-button class="mark-as-read" :class="unread ? 'unread' : ''"
|
||||||
icon="el-icon-close" @click="markAsRead" v-if="unread">
|
size="mini" type="text" icon="el-icon-close"
|
||||||
|
@click="markAsRead">
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|||||||
Reference in New Issue
Block a user