Fix loading snapshots
This commit is contained in:
parent
518e09e3cb
commit
95b98c9053
@ -130,15 +130,10 @@
|
|||||||
</JsonEditor>
|
</JsonEditor>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>Settings migration report</h2>
|
|
||||||
<pre>
|
|
||||||
{{settings.migrationReport}}
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
<h2>Settings snapshots</h2>
|
<h2>Settings snapshots</h2>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<div v-for="(snapshot, index) of settingsSnapshots" :key="snapshot.createdAt">
|
<div v-for="(snapshot, index) of settingsSnapshots" :key="snapshot.createdAt">
|
||||||
<small>{{snapshot.createdAt.toISOString()}}</small>
|
<small>{{new Date(snapshot.createdAt).toISOString()}}</small>
|
||||||
<div class="flex flex-row">
|
<div class="flex flex-row">
|
||||||
<div class="grow">
|
<div class="grow">
|
||||||
{{snapshot.name}}
|
{{snapshot.name}}
|
||||||
@ -208,6 +203,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.resetSettingsEditor();
|
this.resetSettingsEditor();
|
||||||
|
this.loadSettingsSnapshots();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
setTab(tab) {
|
setTab(tab) {
|
||||||
|
Loading…
Reference in New Issue
Block a user