Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions src/Frontend/src/composables/serviceServiceControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ export const monitoringConnectionState = reactive<ConnectionState>({
export const environment = reactive({
monitoring_version: "",
sc_version: "",
minimum_supported_sc_version: "4.33.4",
minimum_supported_sc_version: "6.6.0",
is_compatible_with_sc: true,
sp_version: window.defaultConfig && window.defaultConfig.version ? window.defaultConfig.version : "1.1.0",
sp_version: window.defaultConfig && window.defaultConfig.version ? window.defaultConfig.version : "1.2.0",
supportsArchiveGroups: false,
endpoints_error_url: "",
known_endpoints_url: "",
Expand Down
54 changes: 28 additions & 26 deletions src/Frontend/src/views/AuditView.vue
Original file line number Diff line number Diff line change
@@ -1,38 +1,40 @@
<script setup lang="ts">
import { licenseStatus } from "../composables/serviceLicense";
import LicenseExpired from "../components/LicenseExpired.vue";
import AuditList from "@/components/audit/AuditList.vue";
import isAllMessagesSupported, { minimumSCVersionForAllMessages } from "@/components/audit/isAllMessagesSupported.ts";
import ConditionalRender from "@/components/ConditionalRender.vue";
import ServiceControlAvailable from "@/components/ServiceControlAvailable.vue";
import LicenseNotExpired from "@/components/LicenseNotExpired.vue";
</script>

<template>
<ConditionalRender :supported="isAllMessagesSupported">
<template #unsupported>
<div class="not-supported">
<p>
The minimum version of ServiceControl required to enable this feature is
<span> {{ minimumSCVersionForAllMessages }} </span>.
</p>
<div>
<a class="btn btn-default btn-primary" href="https://particular.net/downloads" target="_blank">Update ServiceControl to latest version</a>
</div>
</div>
</template>
<LicenseExpired />
<template v-if="!licenseStatus.isExpired">
<div class="container">
<div class="row title">
<div class="col-12">
<h1>All Messages</h1>
<ServiceControlAvailable>
<LicenseNotExpired>
<ConditionalRender :supported="isAllMessagesSupported">
<template #unsupported>
<div class="not-supported">
<p>
The minimum version of ServiceControl required to enable this feature is
<span> {{ minimumSCVersionForAllMessages }} </span>.
</p>
<div>
<a class="btn btn-default btn-primary" href="https://particular.net/downloads" target="_blank">Update ServiceControl to latest version</a>
</div>
</div>
</template>

<div class="container">
<div class="row title">
<div class="col-12">
<h1>All Messages</h1>
</div>
</div>
<div class="row">
<AuditList />
</div>
</div>
<div class="row">
<AuditList />
</div>
</div>
</template>
</ConditionalRender>
</ConditionalRender>
</LicenseNotExpired>
</ServiceControlAvailable>
</template>

<style scoped>
Expand Down