♻️ (inbox) rename fleeting notes into inbox

This commit is contained in:
Julien Calixte
2021-04-03 19:30:01 +02:00
parent c7068f15d8
commit 6e0b24e086
3 changed files with 4 additions and 6 deletions

View File

@@ -16,7 +16,7 @@
class="special-folder" class="special-folder"
:to="{ name: 'FleetingNotes', params: { user, repo } }" :to="{ name: 'FleetingNotes', params: { user, repo } }"
> >
Fleeting notes inbox
</router-link> </router-link>
</header> </header>
</template> </template>

View File

@@ -27,13 +27,11 @@ const routes: Array<RouteRecordRaw> = [
component: Home component: Home
}, },
{ {
path: '/:user/:repo/fleeting-notes', path: '/:user/:repo/inbox',
name: 'FleetingNotes', name: 'FleetingNotes',
props: true, props: true,
component: () => component: () =>
import( import(/* webpackChunkName: "inbox" */ '@/views/FleetingNotes.vue')
/* webpackChunkName: "fleeting-notes" */ '@/views/FleetingNotes.vue'
)
}, },
{ {
path: '/:user/:repo/draft', path: '/:user/:repo/draft',

View File

@@ -19,7 +19,7 @@ import { defineAsyncComponent, defineComponent } from 'vue'
const FluxNote = defineAsyncComponent(() => import('@/components/FluxNote.vue')) const FluxNote = defineAsyncComponent(() => import('@/components/FluxNote.vue'))
const FLEETING_NOTES_FOLDER = 'fleeting-notes' const FLEETING_NOTES_FOLDER = 'inbox'
export default defineComponent({ export default defineComponent({
name: 'FleetingNotes', name: 'FleetingNotes',