mirror of https://github.com/VueTubeApp/VueTube
logs now sort new to old
This commit is contained in:
parent
1704abdfcf
commit
2e26d5240a
|
@ -10,6 +10,7 @@
|
|||
<v-card-text v-text="item.data" />
|
||||
</v-card>
|
||||
</v-list-item>
|
||||
<br><br><br> <!-- Temp fix for last log entries being cut off -->
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
@ -20,7 +21,7 @@
|
|||
margin-top: 1em;
|
||||
}
|
||||
.date {
|
||||
margin-left: 0.5em;
|
||||
margin: 0.5em;
|
||||
font-size: 0.75em;
|
||||
transform: translateY(5%);
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ import { Http } from '@capacitor-community/http';
|
|||
|
||||
//--- Logger Function ---//
|
||||
function logger(func, data) {
|
||||
module.logs.push({
|
||||
module.logs.unshift({
|
||||
name: func,
|
||||
time: Date.now(),
|
||||
data: data
|
||||
|
|
Loading…
Reference in New Issue