Skip to content
Merged

#186 #188

Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions autogole-api/src/python/RTMonLibs/Template.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ def addRowPanel(self, row, panels, recordAnnotations=False):
if not row['collapsed']:
out.append(row)
for pan in panels:
if pan['title'] == 'Network Address Information':
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not do this inside the code. I would remove all Network Address Information template. Why we want to keep it if we are not using it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried that but it didn't work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can show you in tomorrow's meeting

continue
pan["id"] = self._getNextID(recordAnnotations)
if 'gridPos' not in pan:
pan["gridPos"] = self.gridPos
Expand Down Expand Up @@ -377,6 +379,7 @@ def t_addRow(self, *_args, **kwargs):
out = self._t_loadTemplate("row.json")
out["title"] = kwargs.get('title', "Row Title Not Present")
out["id"] = self._getNextRowID()
out["collapsed"] = True
if 'collapsed' in kwargs:
out["collapsed"] = kwargs['collapsed']
return out
Expand Down