Fix issue
This commit is contained in:
parent
a526060137
commit
310e022b26
@ -102,6 +102,7 @@
|
|||||||
import {
|
import {
|
||||||
BLink, BAvatar, BRow, BCol, BCard, BCardText, BCardTitle, BNav, BNavItem, BButton,
|
BLink, BAvatar, BRow, BCol, BCard, BCardText, BCardTitle, BNav, BNavItem, BButton,
|
||||||
} from 'bootstrap-vue'
|
} from 'bootstrap-vue'
|
||||||
|
import Ripple from 'vue-ripple-directive'
|
||||||
import VuexyLogo from '@core/layouts/components/Logo.vue'
|
import VuexyLogo from '@core/layouts/components/Logo.vue'
|
||||||
import store from '@/store/index'
|
import store from '@/store/index'
|
||||||
import { timeIn, toDay } from '@/libs/data'
|
import { timeIn, toDay } from '@/libs/data'
|
||||||
@ -127,6 +128,9 @@ export default {
|
|||||||
Locale,
|
Locale,
|
||||||
AppFooter,
|
AppFooter,
|
||||||
},
|
},
|
||||||
|
directives: {
|
||||||
|
Ripple,
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
const chains = this.$store.state.chains.config
|
const chains = this.$store.state.chains.config
|
||||||
return {
|
return {
|
||||||
|
@ -122,7 +122,7 @@ export default {
|
|||||||
return tokenFormatter(value)
|
return tokenFormatter(value)
|
||||||
},
|
},
|
||||||
addNewLine(value) {
|
addNewLine(value) {
|
||||||
if (typeof value === 'string') {
|
if (typeof value === 'string' && value.indexOf('\\n') > -1) {
|
||||||
return value.replaceAll('\\n', '\n')
|
return value.replaceAll('\\n', '\n')
|
||||||
}
|
}
|
||||||
return value
|
return value
|
||||||
|
Loading…
Reference in New Issue
Block a user