parent
11d76a3f99
commit
8118578b1c
|
@ -76,7 +76,7 @@ export default defineComponent({
|
|||
this.resizeObserver = new ResizeObserver(this.onScroll.bind(this));
|
||||
this.resizeObserver.observe(inner);
|
||||
|
||||
this.refresh();
|
||||
this.refreshNow();
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
|
@ -88,7 +88,7 @@ export default defineComponent({
|
|||
this.$emit('load');
|
||||
},
|
||||
|
||||
async refresh() {
|
||||
async refreshNow() {
|
||||
// Look for cache
|
||||
const dayIdToday = utils.dateToDayId(new Date());
|
||||
const cacheUrl = `/onthisday/${dayIdToday}`;
|
||||
|
|
Loading…
Reference in New Issue