Commit d17804fe authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Ignore dashboard in html exports


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent b6b53d5d
......@@ -93,6 +93,13 @@ class PluginExportHtml extends PluginExport {
}
}
// Don't export the dashboard
foreach (array_keys($this->views) as $i) {
if ($this->views[$i]->get('type') == 'dashboard') {
unset($this->views[$i]);
}
}
$this->exportingoneview = (
$this->viewexportmode == PluginExport::EXPORT_LIST_OF_VIEWS &&
$this->artefactexportmode == PluginExport::EXPORT_ARTEFACTS_FOR_VIEWS &&
......
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 to comment