mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-02 21:18:12 +00:00
fix: order "O" rows generation
This commit is contained in:
@@ -120,10 +120,12 @@ export default defineComponent({
|
||||
generateMessage() {
|
||||
let message = this.rowMethods[0]();
|
||||
|
||||
if (this.order.orderList.some((row) => row.name)) message += `\n--------\n<b>[ 1 ]</b>`;
|
||||
if (this.order.orderList.some((row) => row.name)) {
|
||||
message += `\n--------\n<b>[ 1 ]</b>`;
|
||||
message += '\n1) zmniejszyć prędkość jazdy i zachować ostrożność'
|
||||
message += '\n2) jechać ostrożnie (j.o.)\n'
|
||||
}
|
||||
|
||||
message += '\n1) zmniejszyć prędkość jazdy i zachować ostrożność'
|
||||
message += '\n2) jechać ostrożnie (j.o.)\n'
|
||||
|
||||
for (let i = 0; i < this.order.orderList.length; i++) {
|
||||
const row = this.order.orderList[i];
|
||||
|
||||
Reference in New Issue
Block a user