Merge pull request 'fix(driver-route): refs #6684 manage word overflow with wordBreak' (!1957) from 6684-driverRouteHotfix into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1957
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Pablo Natek 2024-01-31 13:18:05 +00:00
commit 931985fb1b
2 changed files with 4 additions and 2 deletions

View File

@ -46,6 +46,9 @@ section.text-area {
padding-left: 1em;
padding-right: 1em;
background-color: #e5e5e5;
& > p {
word-break: break-all;
}
}
.route-block {

View File

@ -5,7 +5,6 @@ module.exports = {
mixins: [vnReport],
async serverPrefetch() {
let ids = this.id;
const hasMultipleRoutes = String(this.id).includes(',');
if (hasMultipleRoutes)
ids = this.id.split(',');
@ -30,7 +29,7 @@ module.exports = {
},
props: {
id: {
type: Number,
type: String,
required: true,
description: 'The route id'
}