Skip to content
Snippets Groups Projects
Commit bd610abc authored by Timothee P's avatar Timothee P :sunflower:
Browse files

switch back to format date

parent b44820f9
No related branches found
No related tags found
1 merge request!561REDMINE_ISSUE-16828|REDMINE_ISSUE-17022|REDMINE_ISSUE-17031|REDMINE_ISSUE-17033| Page utilisateur - lien non valide vers signalement
...@@ -286,7 +286,7 @@ ...@@ -286,7 +286,7 @@
id="update" id="update"
class="dt-center" class="dt-center"
> >
{{ feature.updated_on }} {{ feature.updated_on | formatDate }}
</td> </td>
<td <td
v-if="user" v-if="user"
...@@ -398,10 +398,17 @@ ...@@ -398,10 +398,17 @@
<script> <script>
import { mapState, mapGetters, mapMutations } from 'vuex'; import { mapState, mapGetters, mapMutations } from 'vuex';
import { formatStringDate } from '@/utils';
export default { export default {
name: 'FeatureListTable', name: 'FeatureListTable',
filters: {
formatDate(value) {
return formatStringDate(value);
},
},
beforeRouteLeave (to, from, next) { beforeRouteLeave (to, from, next) {
if (to.name !== 'editer-attribut-signalement') { if (to.name !== 'editer-attribut-signalement') {
this.UPDATE_CHECKED_FEATURES([]); // empty if not needed anymore this.UPDATE_CHECKED_FEATURES([]); // empty if not needed anymore
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment