updated tests

This commit is contained in:
2024-03-11 11:08:03 +03:00
parent 4831e7431b
commit d9e53719bd
3 changed files with 6 additions and 2 deletions

View File

@@ -31,6 +31,10 @@ class ServiceOfServices {
this.store.dispatch('services/changeSelectedService', service)
}
async getSelectedService() {
return this.store.getters['services/selectedService']
}
async cancelSelectedService(id) {
const services = this.store.getters['services/services']
const updatedServices = id === -1 ? removedNewService(services) : null