Commit da7e5af8 by Kálmán Viktor

dashboard: minor improvement

parent 5f0af261
...@@ -1148,7 +1148,7 @@ class VmList(LoginRequiredMixin, FilterMixin, ListView): ...@@ -1148,7 +1148,7 @@ class VmList(LoginRequiredMixin, FilterMixin, ListView):
if s: if s:
s = s.split(":") s = s.split(":")
if len(s) < 2: if len(s) < 2:
got = {'name': "".join(s)} got = {'name': s[0]}
else: else:
latest = s.pop(0) latest = s.pop(0)
got = {'%s' % latest: None} got = {'%s' % latest: None}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment