Browse Source

Fixes missing icon on add Custom Service without logo

pull/330/head
Ramiro Saenz 9 years ago
parent
commit
22b014c993
  1. 2
      app/view/main/MainController.js

2
app/view/main/MainController.js

@ -703,7 +703,7 @@ Ext.define('Rambox.view.main.MainController', {
xtype: 'webview' xtype: 'webview'
,id: 'tab_'+service.get('id') ,id: 'tab_'+service.get('id')
,title: service.get('name') ,title: service.get('name')
,icon: 'resources/icons/'+service.get('logo') ,icon: service.get('logo') === '' ? 'resources/icons/custom.png' : service.get('logo')
,src: service.get('url') ,src: service.get('url')
,type: service.get('type') ,type: service.get('type')
,align: formValues.align ,align: formValues.align

Loading…
Cancel
Save