fix: [galaxyCluster:view/analystData] Load assets before trying to render notes

pull/9583/head
Sami Mokaddem 2024-02-22 08:40:58 +01:00
parent 224415c3b4
commit 48a7addb04
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,9 @@
<?php
echo $this->element('genericElements/assetLoader', [
'js' => ['doT', 'moment.min'],
'css' => ['analyst-data',],
]);
$extendedFromHtml = '';
if (!empty($cluster['GalaxyCluster']['extended_from'])) {
$element = $this->element('genericElements/IndexTable/Fields/links', array(
@ -174,10 +179,6 @@ $options = [
'relationships' => $cluster['GalaxyCluster']['Relationship'] ?? [],
];
echo $this->element('genericElements/assetLoader', [
'js' => ['doT', 'moment.min'],
'css' => ['analyst-data',],
]);
echo $this->element('genericElements/Analyst_data/thread', $options);
?>