mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
show spinner only on first load
This commit is contained in:
@@ -33,16 +33,14 @@
|
||||
show-empty
|
||||
>
|
||||
<template v-slot:empty>
|
||||
<div v-if="!search_text" class="empty-folder-message">
|
||||
<div v-if="!search_text && !isBusy" class="empty-folder-message">
|
||||
This folder is either empty or you do not have proper access permissions to see the contents. If
|
||||
you expected something to show up please consult the
|
||||
<a href="https://galaxyproject.org/data-libraries/#permissions" target="_blank">
|
||||
library security wikipage
|
||||
</a>
|
||||
</div>
|
||||
</template>
|
||||
<template #table-busy>
|
||||
<div class="text-center my-2">
|
||||
<div v-if="isBusy" class="text-center my-2">
|
||||
<b-spinner class="align-middle"></b-spinner>
|
||||
<strong>Loading...</strong>
|
||||
</div>
|
||||
@@ -332,7 +330,7 @@ export default {
|
||||
return `${this.root}library/folders/${path[path.length - 2][0]}`;
|
||||
}
|
||||
} else {
|
||||
return false
|
||||
return false;
|
||||
}
|
||||
},
|
||||
},
|
||||
@@ -603,4 +601,4 @@ export default {
|
||||
|
||||
<style scoped>
|
||||
@import "library-folder-table.css";
|
||||
</style>
|
||||
</style>
|
||||
Reference in New Issue
Block a user