From f0f2f172fb97d4bc9ba3e10bf56d8425603840ab Mon Sep 17 00:00:00 2001 From: Raruto Date: Mon, 26 Feb 2024 14:50:17 +0100 Subject: [PATCH] jsdoc --- src/components/ChangeMapMenu.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/ChangeMapMenu.vue b/src/components/ChangeMapMenu.vue index 270a6abfb..4f1108fa3 100644 --- a/src/components/ChangeMapMenu.vue +++ b/src/components/ChangeMapMenu.vue @@ -144,12 +144,12 @@ export default { parent: null, /** - * @type {Array} + * @type { Array } all items from top to bottom */ - steps: [], //Contain all items from top to bottom + steps: [], /** - * @type {string} ID of current project group + * @type { string } ID of current project group */ curr_group: null, @@ -159,9 +159,9 @@ export default { methods: { /** - * @returns { void | Promise } + * @returns { Promise } */ - back() { + async back() { const last_step = this.steps.pop(); // remove last const has_steps = this.steps.length > 0; const item = has_steps && this.steps[this.steps.length - 1]; //get last step