cosmetic changes

This commit is contained in:
Mikaël Cluseau
2025-07-23 09:53:42 +02:00
parent 5fa367949b
commit cd69d9234e
4 changed files with 67 additions and 35 deletions

View File

@ -79,11 +79,14 @@ createApp({
return undefined;
},
hostsFromTemplate() {
return (this.state.Hosts||[]).filter((h) => h.Template)
return (this.state.Hosts||[]).filter((h) => h.Template);
},
},
methods: {
any(array) {
return array && array.length != 0;
},
copyText(text) {
event.preventDefault()
window.navigator.clipboard.writeText(text)