fix(driver-route): refs #6684 manage word overflow with wordBreak #1957

Merged
pablone merged 6 commits from 6684-driverRouteHotfix into master 2024-01-31 13:18:06 +00:00
2 changed files with 4 additions and 2 deletions

View File

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

View File

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