Added mixin for common text rendering code

This commit is contained in:
Andrew Bastin
2020-06-26 14:45:58 -04:00
parent 0fbf24b836
commit d8b5fc5d3f

View File

@@ -0,0 +1,10 @@
export default {
props: {
response: {},
},
computed: {
responseBodyText() {
return new TextDecoder("utf-8").decode(this.response.body)
},
},
}