summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDevlin Junker <devlin.junker@gmail.com>2023-09-03 18:08:21 -0700
committerBenjamin Brahmer <info@b-brahmer.de>2023-09-15 06:57:42 +0200
commitdce0701f73b4dcba4ce6efd0b80aadfc4f97c7ce (patch)
tree80a331e961e4dcbdc13ee39fe45925fc4bacd0b3 /src
parent7e21dc8edcb0771c5f437695406bbcd30f67d5d7 (diff)
add unit tests and little more cleanup of uncessary lines
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/App.vue1
-rw-r--r--src/components/feed-display/FeedItemDisplayList.vue15
2 files changed, 13 insertions, 3 deletions
diff --git a/src/App.vue b/src/App.vue
index 97383c440..930c8b048 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -24,7 +24,6 @@ export default Vue.extend({
async created() {
await this.$store.dispatch(ACTIONS.FETCH_FOLDERS)
await this.$store.dispatch(ACTIONS.FETCH_FEEDS)
- await this.$store.dispatch(ACTIONS.FETCH_STARRED)
},
})
</script>
diff --git a/src/components/feed-display/FeedItemDisplayList.vue b/src/components/feed-display/FeedItemDisplayList.vue
index 8fc58281e..44e4b070a 100644
--- a/src/components/feed-display/FeedItemDisplayList.vue
+++ b/src/components/feed-display/FeedItemDisplayList.vue
@@ -1,6 +1,6 @@
<template>
- <div style="height: 100%; display: flex; flex-direction: column;">
- <div style="justify-content: right; display: flex">
+ <div class="feed-item-display-list">
+ <div class="header">
<NcActions class="filter-container" :force-menu="true">
<template #icon>
<FilterIcon />
@@ -180,6 +180,12 @@ export default Vue.extend({
</script>
<style scoped>
+ .feed-item-display-list {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ }
+
.virtual-scroll {
border-top: 1px solid var(--color-border);
width: 100%;
@@ -196,6 +202,11 @@ export default Vue.extend({
height: calc(100vh - 50px - 50px - 10px)
}
+ .header {
+ justify-content: right;
+ display: flex;
+ }
+
.filter-container {
padding: 5px;
}