diff --git a/pages/deferredcontent/index.vue b/pages/deferredcontent/index.vue index 7e6301bc8..784febd47 100755 --- a/pages/deferredcontent/index.vue +++ b/pages/deferredcontent/index.vue @@ -12,9 +12,9 @@
Scroll down to lazy load an image and the DataTable which initiates a query that is not executed on initial page load to speed up load performance.
- + + Nature +
diff --git a/pages/galleria/Advanced.vue b/pages/galleria/Advanced.vue index 112c5e6ed..057cb2b10 100644 --- a/pages/galleria/Advanced.vue +++ b/pages/galleria/Advanced.vue @@ -250,15 +250,11 @@ export default { created() { this.galleriaService = new PhotoService(); }, - async mounted() { - await this.test(); + mounted() { + this.galleriaService.getImages().then((data) => (this.images = data)); this.bindDocumentListeners(); }, methods: { - async test() { - const data = await this.galleriaService.getImages(); - this.images = data; - }, onThumbnailButtonClick() { this.showThumbnails = !this.showThumbnails; },