Skip to content
Snippets Groups Projects
Commit a05209ce authored by Kirill Stytsenko's avatar Kirill Stytsenko
Browse files

Use :to instead of href in links

Former-commit-id: 8febbcba
parent ed00fad7
Branches
Tags
1 merge request!42Fixed the query service tests
...@@ -48,8 +48,8 @@ export default { ...@@ -48,8 +48,8 @@ export default {
dialogDelete: false, dialogDelete: false,
confirm: null, confirm: null,
items: [ items: [
{ text: 'Databases', href: '/databases' }, { text: 'Databases', to: '/databases', activeClass: '' },
{ text: `${this.$route.params.database_id}`, href: `/databases/${this.$route.params.database_id}/info` } { text: `${this.$route.params.database_id}`, to: `/databases/${this.$route.params.database_id}/info`, activeClass: '' }
] ]
} }
}, },
......
...@@ -38,8 +38,8 @@ export default { ...@@ -38,8 +38,8 @@ export default {
return { return {
loading: false, loading: false,
items: [ items: [
{ text: 'Databases', href: '/databases' }, { text: 'Databases', to: '/databases', activeClass: '' },
{ text: `${this.$route.params.database_id}`, href: `/databases/${this.$route.params.database_id}/info` } { text: `${this.$route.params.database_id}`, to: `/databases/${this.$route.params.database_id}/info`, activeClass: '' }
] ]
} }
}, },
......
...@@ -18,9 +18,9 @@ export default { ...@@ -18,9 +18,9 @@ export default {
data () { data () {
return { return {
items: [ items: [
{ text: 'Databases', href: '/databases' }, { text: 'Databases', to: '/databases', activeClass: '' },
{ text: `${this.$route.params.database_id}`, href: `/databases/${this.$route.params.database_id}/info` }, { text: `${this.$route.params.database_id}`, to: `/databases/${this.$route.params.database_id}/info`, activeClass: '' },
{ text: 'Tables', href: `/databases/${this.$route.params.database_id}/tables` } { text: 'Tables', to: `/databases/${this.$route.params.database_id}/tables`, activeClass: '' }
] ]
} }
}, },
......
...@@ -12,8 +12,8 @@ export default { ...@@ -12,8 +12,8 @@ export default {
data () { data () {
return { return {
items: [ items: [
{ text: 'Databases', href: '/databases' }, { text: 'Databases', to: '/databases', activeClass: '' },
{ text: `${this.$route.params.database_id}`, href: `/databases/${this.$route.params.database_id}/queries` } { text: `${this.$route.params.database_id}`, to: `/databases/${this.$route.params.database_id}/queries`, activeClass: '' }
] ]
} }
}, },
......
...@@ -139,10 +139,10 @@ export default { ...@@ -139,10 +139,10 @@ export default {
description: null description: null
}, },
items: [ items: [
{ text: 'Databases', href: '/databases' }, { text: 'Databases', to: '/databases', activeClass: '' },
{ text: `${this.$route.params.database_id}`, href: `/databases/${this.$route.params.database_id}/info` }, { text: `${this.$route.params.database_id}`, to: `/databases/${this.$route.params.database_id}/info`, activeClass: '' },
{ text: 'Tables', href: `/databases/${this.$route.params.database_id}/tables` }, { text: 'Tables', to: `/databases/${this.$route.params.database_id}/tables`, activeClass: '' },
{ text: `${this.$route.params.table_id}`, href: `/databases/${this.$route.params.database_id}/tables/${this.$route.params.table_id}` } { text: `${this.$route.params.table_id}`, to: `/databases/${this.$route.params.database_id}/tables/${this.$route.params.table_id}`, activeclass: '' }
], ],
headers: [], headers: [],
rows: [] rows: []
......
...@@ -21,8 +21,8 @@ export default { ...@@ -21,8 +21,8 @@ export default {
return { return {
db: null, db: null,
items: [ items: [
{ text: 'Databases', href: '/databases' }, { text: 'Databases', to: '/databases', activeClass: '' },
{ text: `${this.$route.params.database_id}`, href: `/databases/${this.$route.params.database_id}/tables` } { text: `${this.$route.params.database_id}`, to: `/databases/${this.$route.params.database_id}/tables`, activeClass: '' }
] ]
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment