javascript - ActiveAdmin - Static Content on Index Page -


i trying map based filtering on activeadmin data set. have created partial contains map , associated javascript, , can render using code:

activeadmin.register location   menu priority: 4, label: 'locations'    filter :name ....     index      panel "maps"       div         render :partial => "/admin/dashboard/map", :locals => {  }       end     end  .... 

however, if filters set on page such there no data meeting criteria data set - no content shown , map not shown. idea here allow filtering based on map, have working, when there no results, still want map show user can alter map settings , find data want.

does know how in activeadmin? want partial show no matter result set particular index.

thanks in advance!


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -