mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 14:50:56 +00:00
Force all add-on settings to display in simple view
This commit is contained in:
parent
584e4905f1
commit
012327ca37
4 changed files with 12 additions and 0 deletions
|
@ -62,6 +62,9 @@ export default {
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if ( this.context.simple_view ) {
|
if ( this.context.simple_view ) {
|
||||||
|
// Don't hide any add-on settings in simple view
|
||||||
|
if ( item.path && item.path.startsWith('Add-Ons') )
|
||||||
|
return true;
|
||||||
for(const key of ['tabs', 'contents', 'items'])
|
for(const key of ['tabs', 'contents', 'items'])
|
||||||
if ( item[key] )
|
if ( item[key] )
|
||||||
for(const thing of item[key])
|
for(const thing of item[key])
|
||||||
|
|
|
@ -191,6 +191,9 @@ export default {
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if ( this.context.simple_view ) {
|
if ( this.context.simple_view ) {
|
||||||
|
// Don't hide any add-on settings in simple view
|
||||||
|
if ( item.path && item.path.startsWith('Add-Ons') )
|
||||||
|
return true;
|
||||||
for(const key of ['tabs', 'contents', 'items'])
|
for(const key of ['tabs', 'contents', 'items'])
|
||||||
if ( item[key] )
|
if ( item[key] )
|
||||||
for(const thing of item[key])
|
for(const thing of item[key])
|
||||||
|
|
|
@ -116,6 +116,9 @@ export default {
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if ( this.context.simple_view ) {
|
if ( this.context.simple_view ) {
|
||||||
|
// Don't hide any add-on settings in simple view
|
||||||
|
if ( item.path && item.path.startsWith('Add-Ons') )
|
||||||
|
return true;
|
||||||
for(const key of ['tabs', 'contents', 'items'])
|
for(const key of ['tabs', 'contents', 'items'])
|
||||||
if ( item[key] )
|
if ( item[key] )
|
||||||
for(const thing of item[key])
|
for(const thing of item[key])
|
||||||
|
|
|
@ -214,6 +214,9 @@ export default {
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if ( this.context.simple_view ) {
|
if ( this.context.simple_view ) {
|
||||||
|
// Don't hide any add-on settings in simple view
|
||||||
|
if ( item.path && item.path.startsWith('Add-Ons') )
|
||||||
|
return true;
|
||||||
for(const key of ['tabs', 'contents', 'items'])
|
for(const key of ['tabs', 'contents', 'items'])
|
||||||
if ( item[key] )
|
if ( item[key] )
|
||||||
for(const thing of item[key])
|
for(const thing of item[key])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue