Fixed pagination. Added entity page channel tile expand.

This commit is contained in:
2024-01-25 03:07:26 +01:00
parent 0b3f98826b
commit d739975d36
29 changed files with 1056 additions and 128 deletions

View File

@@ -4,7 +4,7 @@
<input
v-model="search"
type="search"
placeholder="Filter channels"
:placeholder="`Filter ${channels.length} channels`"
class="input input-inline filters-search"
>
@@ -113,7 +113,10 @@ const entities = computed(() => {
return Object.values(filteredChannels.reduce((acc, channel) => {
if (!channel.parent || channel.isIndependent) {
acc[channel.id] = channel;
acc[channel.id] = {
...channel,
children: [],
};
return acc;
}
@@ -151,7 +154,7 @@ const entities = computed(() => {
.filter-item.channel {
.filter-text .icon {
width: 1.5rem;
width: 2.25rem;
height: 1rem;
transform: rotate(-135deg);
fill: var(--shadow-weak-30);
@@ -160,7 +163,7 @@ const entities = computed(() => {
}
.favicon {
width: 1rem;
width: 1.75rem;
height: 1rem;
margin-right: .5rem;
object-fit: contain;