Fixed pagination. Added entity page channel tile expand.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user