9999 />
100100 <input type =" button" class =" ml-10" :value =" t('restore.message')" @click =" restore()" />
101101 </div >
102+ <div class =" settings-item" >
103+ <label class =" setting-header" >
104+ <input
105+ type =" checkbox"
106+ class =" filled-in"
107+ id =" showChangelog"
108+ v-model =" showChangelog"
109+ @change =" onChange(StorageParams.SHOW_CHANGELOG, $event.target)"
110+ />
111+ <span >{{ t('showChangelog.message') }}</span >
112+ <p class =" description" >
113+ {{ t('showChangelog.description') }}
114+ </p >
115+ </label >
116+ </div >
102117 <div id =" removeAllConfirmModal" class =" modal" v-if =" needToConfirmDeleteAllData" >
103118 <div class =" modal-content" >
104119 <p class =" text-center" >{{ t('removeAllDataConfirm.message') }}</p >
@@ -133,6 +148,7 @@ import {
133148 StorageParams ,
134149 VIEW_TIME_IN_BADGE_DEFAULT ,
135150 InactivityInterval ,
151+ SHOW_CHANGELOG_DEFAULT ,
136152} from ' ../storage/storage-params' ;
137153import { ranges , ThisWeekRange , todayLocalDate } from ' ../utils/date' ;
138154import { useImportToCsv } from ' ../compositions/toCsv' ;
@@ -155,6 +171,7 @@ const selectedDate = ref<Date[]>();
155171const presetRanges = ranges ();
156172
157173const needToConfirmDeleteAllData = ref <boolean >();
174+ const showChangelog = ref <boolean >();
158175
159176const restoreFile = ref <any >();
160177
@@ -173,6 +190,10 @@ onMounted(async () => {
173190 BLOCK_DEFERRAL_DEFAULT ,
174191 );
175192 selectedDate .value = ThisWeekRange ;
193+ showChangelog .value = await settingsStorage .getValue (
194+ StorageParams .SHOW_CHANGELOG ,
195+ SHOW_CHANGELOG_DEFAULT ,
196+ );
176197});
177198
178199async function onChange(storageParam : StorageParams , target : any ) {
0 commit comments