mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
Optymalizacja kodu i assetów; poprawki w działaniu
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import { defineComponent } from 'vue';
|
||||
|
||||
export default defineComponent({
|
||||
methods: {
|
||||
getControlTypeAbbrev(controlType: string) {
|
||||
switch (controlType) {
|
||||
case 'mechaniczne':
|
||||
return 'M';
|
||||
case 'SCS-SPK':
|
||||
return 'S/S';
|
||||
case 'ręczne':
|
||||
return 'R';
|
||||
case 'mechaniczne+SPK':
|
||||
return 'M';
|
||||
case 'ręczne+SPK':
|
||||
return 'R';
|
||||
case 'mechaniczne+SCS':
|
||||
return 'M';
|
||||
default:
|
||||
return controlType;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user