mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	refactor: Export settings_bots.render_bots().
We also now call this explicitly when we need to re-render (instead of triggering a custom event).
This commit is contained in:
		@@ -12,7 +12,7 @@ var bot_data = (function () {
 | 
			
		||||
                           'config_data', 'service_name', 'token'];
 | 
			
		||||
 | 
			
		||||
    var send_change_event = _.debounce(function () {
 | 
			
		||||
        $(document).trigger('zulip.bot_data_changed');
 | 
			
		||||
        settings_bots.render_bots();
 | 
			
		||||
    }, 50);
 | 
			
		||||
 | 
			
		||||
    var set_can_admin = function bot_data__set_can_admin(bot) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user