mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +00:00
Fix missing icon, Fix import of all notes being outside all notes folder
This commit is contained in:
parent
b66a486036
commit
ffbfe741e3
2 changed files with 23 additions and 22 deletions
|
@ -15,14 +15,12 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<MkFolder>
|
||||
<template #icon><i class="ti ti-pencil"></i></template>
|
||||
<template #label><SearchLabel>{{ i18n.ts._exportOrImport.allNotes }}</SearchLabel></template>
|
||||
<div class="_gaps_s">
|
||||
<MkFolder :defaultOpen="true">
|
||||
<template #label>{{ i18n.ts.export }}</template>
|
||||
<template #icon><i class="ti ti-download"></i></template>
|
||||
<MkButton primary :class="$style.button" inline @click="exportNotes()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton>
|
||||
</MkFolder>
|
||||
</MkFolder>
|
||||
</SearchMarker>
|
||||
|
||||
<SearchMarker :keywords="['notes', 'import']">
|
||||
<MkFolder v-if="$i && $i.policies.canImportNotes">
|
||||
<template #label><SearchLabel>{{ i18n.ts.import }}</SearchLabel></template>
|
||||
|
@ -38,6 +36,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<MkButton primary :class="$style.button" inline @click="importNotes($event)"><i class="ph-upload ph-bold ph-lg"></i> {{ i18n.ts.import }}</MkButton>
|
||||
</MkFolder>
|
||||
</SearchMarker>
|
||||
</div>
|
||||
</MkFolder>
|
||||
</SearchMarker>
|
||||
|
||||
<SearchMarker :keywords="['favorite', 'notes']">
|
||||
<MkFolder>
|
||||
|
|
|
@ -232,7 +232,7 @@ export function pluginReplaceIcons() {
|
|||
'ti ti-external-link': 'ph-arrow-square-out ph-bold ph-lg',
|
||||
'ti ti-eye': 'ph-eye ph-bold ph-lg',
|
||||
'ti ti-eye-exclamation': 'ph-eye-slash ph-bold ph-lg',
|
||||
'ti ti-eye-off': 'ti ti-eye-exclamation',
|
||||
'ti ti-eye-off': 'ph-eye-slash ph-bold ph-lg',
|
||||
'ti ti-feather': 'ph-feather ph-bold ph-lg',
|
||||
'ti ti-file': 'ph-file ph-bold ph-lg',
|
||||
'ti ti-file-invoice': 'ph-newspaper-clipping ph-bold ph-lg',
|
||||
|
|
Loading…
Add table
Reference in a new issue