fix typo & change default selected node
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
"reflexion": "Réflexion théorique",
|
||||
"lecture": "Lecture rapprochée",
|
||||
"sensible": "Expérience sensible",
|
||||
"kit": "Fiche-outil de désapprentisage",
|
||||
"kit": "Fiche-outil de désapprentissage",
|
||||
"creation": "Création numérique"
|
||||
},
|
||||
"options": {
|
||||
@@ -28,7 +28,8 @@
|
||||
"card-list": "Alphabétique"
|
||||
},
|
||||
"go-to-char": "Aller à la lettre",
|
||||
"shuffle": "Mélanger"
|
||||
"shuffle": "Mélanger",
|
||||
"select-text": "Sélectionner un texte de départ"
|
||||
},
|
||||
"filters": {
|
||||
"title": "Filtres",
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
<search-input v-if="mode !== 'tree'" v-model="activeSearch" />
|
||||
|
||||
<!-- TREE ONLY -->
|
||||
<b-form-group v-else id="depart-group" :label="$t('variants.depart')">
|
||||
<b-form-group v-else id="depart-group" :label="$t('options.display.select-text')">
|
||||
<b-dropdown id="text-depart-select" variant="outline-dark" right>
|
||||
<template #button-content>
|
||||
<node-view-title v-if="activeNode" :node="activeNode" />
|
||||
|
||||
@@ -116,7 +116,8 @@ export default {
|
||||
|
||||
async 'INIT_LIBRARY_TREE' ({ state, commit, dispatch, rootState }) {
|
||||
const ids = await dispatch('INIT_LIBRARY')
|
||||
return dispatch('SET_NODE_DEPART_ID', ids[ids.length - 1])
|
||||
// set Katalin Molnár "Quant à je" (id: 8) as default selected node
|
||||
return dispatch('SET_NODE_DEPART_ID', 8)
|
||||
},
|
||||
|
||||
async 'INIT_LIBRARY_MAP' ({ state, commit, dispatch }) {
|
||||
|
||||
Reference in New Issue
Block a user