|
@@ -103,9 +103,11 @@ $hasMRVData = false;
|
|
|
<script>
|
|
|
(function() {
|
|
|
window.segmentInitializers.<?= $segment->segmentTemplate->internal_name ?> = function() {
|
|
|
- @if(!!$hasMRVData)
|
|
|
+ // this is incorrect - gets saved in summary html and always fires!
|
|
|
+ // toast should be shown "only" on actual refresh of MRV
|
|
|
+ {{--@if(!!$hasMRVData)
|
|
|
toastr.info('Medrisk Vigilance Updated', null, { timeOut: 10000 });
|
|
|
- @endif
|
|
|
+ @endif--}}
|
|
|
};
|
|
|
}).call(window);
|
|
|
</script>
|