forked from platypush/platypush
[UI] Support both string and objects on the Response
component.
This commit is contained in:
parent
b0d9a95331
commit
cc621cdca6
1 changed files with 17 additions and 2 deletions
|
@ -31,8 +31,13 @@ export default {
|
|||
name: 'Response',
|
||||
mixins: [Utils],
|
||||
props: {
|
||||
response: String,
|
||||
error: String,
|
||||
response: {
|
||||
type: [String, Object],
|
||||
},
|
||||
|
||||
error: {
|
||||
type: [String, Object],
|
||||
},
|
||||
},
|
||||
|
||||
computed: {
|
||||
|
@ -57,4 +62,14 @@ export default {
|
|||
|
||||
<style lang="scss" scoped>
|
||||
@import "common";
|
||||
|
||||
.response {
|
||||
.buttons {
|
||||
button:hover {
|
||||
color: $default-hover-fg;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue