Skip to content

Commit

Permalink
jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Raruto committed Feb 26, 2024
1 parent 89d6652 commit f0f2f17
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/ChangeMapMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand All @@ -159,9 +159,9 @@ export default {
methods: {

/**
* @returns { void | Promise<void> }
* @returns { Promise<void> }
*/
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
Expand Down

0 comments on commit f0f2f17

Please sign in to comment.