Add device group filter to widgets (#9692)

This commit is contained in:
Jellyfrog
2019-08-08 02:59:14 +02:00
committed by Tony Murray
parent b8c96abc35
commit fc281ccc4b
35 changed files with 262 additions and 64 deletions

View File

@@ -62,10 +62,10 @@ class ImageController extends WidgetController
public function getSettingsView(Request $request)
{
return view('widgets.settings.image', $this->getSettings());
return view('widgets.settings.image', $this->getSettings(true));
}
public function getSettings()
public function getSettings($settingsView = false)
{
if (is_null($this->settings)) {
parent::getSettings();