This commit is contained in:
ThatOneCalculator 2022-12-05 23:27:12 -08:00
parent 1743d13f0f
commit 17cce15eca
3 changed files with 16 additions and 9 deletions

View file

@ -1,6 +1,6 @@
{
"name": "calckey",
"version": "12.119.0-calc.19-b5",
"version": "12.119.0-calc.19-b6",
"codename": "aqua",
"repository": {
"type": "git",

View file

@ -3,8 +3,10 @@
<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template>
<MkSpacer :content-max="700">
<div class="qkcjvfiv">
<div class="buttonWrapper">
<MkButton primary class="add" @click="create"><i class="ph-plus-bold ph-lg"></i> {{ i18n.ts.createList }}</MkButton>
<MkButton @click="deleteAll"><i class="ph-trash-bold ph-lg"></i> {{ i18n.ts.deleteAll }}</MkButton>
</div>
<MkPagination v-slot="{items}" ref="pagingComponent" :pagination="pagination" class="lists _content">
<MkA v-for="list in items" :key="list.id" class="list _panel" :to="`/my/lists/${ list.id }`">
@ -69,9 +71,14 @@ definePageMetadata({
<style lang="scss" scoped>
.qkcjvfiv {
> .buttonWrapper {
display: flex;
justify-content: center;
> .add {
margin: 0 auto var(--margin) auto;
}
}
> .lists {
> .list {

View file

@ -150,12 +150,12 @@ async function chooseList(ev: MouseEvent): Promise<void> {
icon: '',
to: `/timeline/list/${list.id}`,
}));
items.concat({
items.concat([{
type: 'link' as const,
text: i18n.ts.manageLists,
icon: 'ph-faders-horizontal-bold ph-lg',
to: '/my/antennas',
});
}]);
os.popupMenu(items, ev.currentTarget ?? ev.target);
}
@ -168,13 +168,13 @@ async function chooseAntenna(ev: MouseEvent): Promise<void> {
indicate: antenna.hasUnreadNote,
to: `/timeline/antenna/${antenna.id}`,
}));
items.concat({
items.concat([{
type: 'link' as const,
indicate: false,
text: i18n.ts.manageLists,
icon: 'ph-faders-horizontal-bold ph-lg',
to: '/my/antennas',
});
}]);
os.popupMenu(items, ev.currentTarget ?? ev.target);
}