fix
This commit is contained in:
parent
1743d13f0f
commit
17cce15eca
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc.19-b5",
|
"version": "12.119.0-calc.19-b6",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -3,8 +3,10 @@
|
||||||
<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template>
|
<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template>
|
||||||
<MkSpacer :content-max="700">
|
<MkSpacer :content-max="700">
|
||||||
<div class="qkcjvfiv">
|
<div class="qkcjvfiv">
|
||||||
<MkButton primary class="add" @click="create"><i class="ph-plus-bold ph-lg"></i> {{ i18n.ts.createList }}</MkButton>
|
<div class="buttonWrapper">
|
||||||
<MkButton @click="deleteAll"><i class="ph-trash-bold ph-lg"></i> {{ i18n.ts.deleteAll }}</MkButton>
|
<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">
|
<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 }`">
|
<MkA v-for="list in items" :key="list.id" class="list _panel" :to="`/my/lists/${ list.id }`">
|
||||||
|
@ -69,8 +71,13 @@ definePageMetadata({
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.qkcjvfiv {
|
.qkcjvfiv {
|
||||||
> .add {
|
> .buttonWrapper {
|
||||||
margin: 0 auto var(--margin) auto;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
> .add {
|
||||||
|
margin: 0 auto var(--margin) auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .lists {
|
> .lists {
|
||||||
|
|
|
@ -150,12 +150,12 @@ async function chooseList(ev: MouseEvent): Promise<void> {
|
||||||
icon: '',
|
icon: '',
|
||||||
to: `/timeline/list/${list.id}`,
|
to: `/timeline/list/${list.id}`,
|
||||||
}));
|
}));
|
||||||
items.concat({
|
items.concat([{
|
||||||
type: 'link' as const,
|
type: 'link' as const,
|
||||||
text: i18n.ts.manageLists,
|
text: i18n.ts.manageLists,
|
||||||
icon: 'ph-faders-horizontal-bold ph-lg',
|
icon: 'ph-faders-horizontal-bold ph-lg',
|
||||||
to: '/my/antennas',
|
to: '/my/antennas',
|
||||||
});
|
}]);
|
||||||
os.popupMenu(items, ev.currentTarget ?? ev.target);
|
os.popupMenu(items, ev.currentTarget ?? ev.target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -168,13 +168,13 @@ async function chooseAntenna(ev: MouseEvent): Promise<void> {
|
||||||
indicate: antenna.hasUnreadNote,
|
indicate: antenna.hasUnreadNote,
|
||||||
to: `/timeline/antenna/${antenna.id}`,
|
to: `/timeline/antenna/${antenna.id}`,
|
||||||
}));
|
}));
|
||||||
items.concat({
|
items.concat([{
|
||||||
type: 'link' as const,
|
type: 'link' as const,
|
||||||
indicate: false,
|
indicate: false,
|
||||||
text: i18n.ts.manageLists,
|
text: i18n.ts.manageLists,
|
||||||
icon: 'ph-faders-horizontal-bold ph-lg',
|
icon: 'ph-faders-horizontal-bold ph-lg',
|
||||||
to: '/my/antennas',
|
to: '/my/antennas',
|
||||||
});
|
}]);
|
||||||
os.popupMenu(items, ev.currentTarget ?? ev.target);
|
os.popupMenu(items, ev.currentTarget ?? ev.target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue