Refactored variant input usage
parent
975580a23b
commit
fa0a2f267a
|
@ -87,7 +87,6 @@ const classes = {
|
||||||
panel: ({ props, instance }) => [
|
panel: ({ props, instance }) => [
|
||||||
'p-treeselect-panel p-component',
|
'p-treeselect-panel p-component',
|
||||||
{
|
{
|
||||||
'p-input-filled': props.variant === 'filled' || instance.$primevue.config.inputStyle === 'filled',
|
|
||||||
'p-ripple-disabled': instance.$primevue.config.ripple === false
|
'p-ripple-disabled': instance.$primevue.config.ripple === false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
@ -121,7 +121,6 @@ export default {
|
||||||
{
|
{
|
||||||
'layout-news-active': this.$appState.newsActive,
|
'layout-news-active': this.$appState.newsActive,
|
||||||
'p-ripple-disabled': this.$appState.ripple === false,
|
'p-ripple-disabled': this.$appState.ripple === false,
|
||||||
'p-input-filled': this.$primevue.config.inputStyle === 'filled',
|
|
||||||
'layout-dark': this.$appState.darkTheme,
|
'layout-dark': this.$appState.darkTheme,
|
||||||
'layout-light': !this.$appState.darkTheme
|
'layout-light': !this.$appState.darkTheme
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue