mirror of
https://github.com/louislam/dockge.git
synced 2024-11-23 19:34:04 +00:00
Add JSDoc and clean comments
This commit is contained in:
parent
bd4a012404
commit
b9f135bdaa
1 changed files with 4 additions and 3 deletions
|
@ -189,6 +189,10 @@ export default {
|
|||
|
||||
return result;
|
||||
},
|
||||
/**
|
||||
* Groups all stacks by it's agent
|
||||
* @returns {Map<string, object} A map containing all agents with their stacks
|
||||
*/
|
||||
stackListByAgent() {
|
||||
const stacksByAgent = new Map();
|
||||
const stacks = this.$root.completeStackList;
|
||||
|
@ -207,10 +211,7 @@ export default {
|
|||
stacksByAgent.get(agent).push(stack);
|
||||
}
|
||||
|
||||
// console.log(stacksByAgent);
|
||||
// console.log(stacks);
|
||||
return stacksByAgent;
|
||||
|
||||
},
|
||||
isDarkTheme() {
|
||||
return document.body.classList.contains("dark");
|
||||
|
|
Loading…
Reference in a new issue