Update HistoryPage.vue

This commit is contained in:
Dragos 2022-11-08 18:54:26 +02:00 committed by GitHub
parent d6ccc7e28b
commit 8d74cced09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
<template> <template>
<h1 class="font-bold text-center" v-t="'titles.history'" /> <h1 class="font-bold text-center" v-t="'titles.history'" />
<div class="flex"> <div class="flex place-items-center">
<div> <div class="mr-2">
<button class="btn" v-t="'actions.clear_history'" @click="clearHistory" /> <button class="btn" v-t="'actions.clear_history'" @click="clearHistory" />
</div> </div>
<div class="right-1"> <div class="mr-2">
<SortingSelector by-key="watchedAt" @apply="order => videos.sort(order)" /> <SortingSelector by-key="watchedAt" @apply="order => videos.sort(order)" />
</div> </div>
</div> </div>