@@ -229,8 +229,8 @@ const MENU = {
229
229
{ t :"Users" , i :"mono/users.svg?light" , g :"inventory" , h :false , f :params => new UsersList ( ) } ,
230
230
{ t :"Devices grid" , i :"mono/griddevices.svg?light" , g :"inventory" , h :true , f :params => new DevicesGrid ( ) } ,
231
231
{ t :"Users grid" , i :"mono/gridusers.svg?light" , g :"inventory" , h :true , f :params => new UsersGrid ( ) } ,
232
- { t :"New device" , i :"mono/newdevice.svg?light" , g :"inventory" , h :true , f :params => new DeviceView ( ) } ,
233
- { t :"New user" , i :"mono/newuser.svg?light" , g :"inventory" , h :true , f :params => new UserView ( ) } ,
232
+ { t :"New device" , i :"mono/newdevice.svg?light" , g :"inventory" , h :true , f :params => new DeviceView ( { file : null } ) } ,
233
+ { t :"New user" , i :"mono/newuser.svg?light" , g :"inventory" , h :true , f :params => new UserView ( { file : null } ) } ,
234
234
{ t :"Fetch" , i :"mono/fetch.svg?light" , g :"inventory" , h :false , f :params => new Fetch ( ) } ,
235
235
{ t :"Fetch devices" , i :"mono/fetch.svg?light" , g :"inventory" , h :true , f :( ) => new Fetch ( "devices" ) } ,
236
236
{ t :"Fetch users" , i :"mono/fetch.svg?light" , g :"inventory" , h :true , f :( ) => new Fetch ( "users" ) } ,
0 commit comments