Frontend: Disable experimental "pull to refresh" because of bugs

This commit is contained in:
Michael Mayer 2019-06-18 02:23:06 +02:00
parent 55ec4e5053
commit 94d670a277
2 changed files with 15 additions and 17 deletions

View file

@ -9,7 +9,7 @@ import PPhotoViewer from "./p-photo-viewer.vue";
import PPhotoSearch from "./p-photo-search.vue";
import PPhotoClipboard from "./p-photo-clipboard.vue";
import PScrollTop from "./p-scroll-top.vue";
import PPullRefresh from "./p-pull-refresh.vue";
// import PPullRefresh from "./p-pull-refresh.vue";
const components = {};
@ -25,7 +25,7 @@ components.install = (Vue) => {
Vue.component("p-photo-search", PPhotoSearch);
Vue.component("p-photo-clipboard", PPhotoClipboard);
Vue.component("p-scroll-top", PScrollTop);
Vue.component("p-pull-refresh", PPullRefresh);
// Vue.component("p-pull-refresh", PPullRefresh);
};
export default components;

View file

@ -2,7 +2,6 @@
<div class="p-page p-page-photos" v-infinite-scroll="loadMore" :infinite-scroll-disabled="scrollDisabled"
:infinite-scroll-distance="10" :infinite-scroll-listen-for-event="'scrollRefresh'">
<p-pull-refresh :on-refresh="refresh">
<p-photo-search :settings="settings" :filter="filter" :filter-change="updateQuery"
:refresh="refresh"></p-photo-search>
@ -19,7 +18,6 @@
:open-photo="openPhoto" :open-location="openLocation"></p-photo-details>
<p-photo-tiles v-else :photos="results" :selection="selection" :open-photo="openPhoto"></p-photo-tiles>
</v-container>
</p-pull-refresh>
</div>
</template>