luci-app-smartdns: explicitly require view class

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2021-10-08 19:55:39 +02:00
parent e6e4575f7c
commit 5d10e3de38

View file

@ -22,6 +22,7 @@
'require uci';
'require form';
'require rpc';
'require view';
var conf = 'smartdns';
var callServiceList = rpc.declare({
@ -115,7 +116,7 @@ function smartdnsRenderStatus(res) {
return renderHTML;
}
return L.view.extend({
return view.extend({
load: function () {
return Promise.all([
uci.load('smartdns'),