dashboard: always save autogenerated tiles (#26359)
This commit is contained in:
parent
83cba8d3a5
commit
63fac47058
|
@ -121,10 +121,10 @@ def dashboard_auto_tile(request, *args, **kwargs):
|
|||
for key in cell_form_keys:
|
||||
cell.parameters[key] = request_body.get(key)
|
||||
|
||||
if request.user.is_authenticated():
|
||||
# save cell if the user is connected, so it can be added to the
|
||||
# dashboard
|
||||
cell.save()
|
||||
# save cell so it can be reused later, for example to be added to
|
||||
# dashboard, or to be used as reference in another page, etc.
|
||||
cell.save()
|
||||
|
||||
return render_cell(request, cell=cell)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue