Skip to content

Commit 6bf5a2d

Browse files
authored
Merge pull request #2395 from Particular/john/minimum-version
Update minimum versions
2 parents 60c518b + 003a794 commit 6bf5a2d

File tree

2 files changed

+30
-28
lines changed

2 files changed

+30
-28
lines changed

src/Frontend/src/composables/serviceServiceControl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ export const monitoringConnectionState = reactive<ConnectionState>({
4141
export const environment = reactive({
4242
monitoring_version: "",
4343
sc_version: "",
44-
minimum_supported_sc_version: "4.33.4",
44+
minimum_supported_sc_version: "6.6.0",
4545
is_compatible_with_sc: true,
46-
sp_version: window.defaultConfig && window.defaultConfig.version ? window.defaultConfig.version : "1.1.0",
46+
sp_version: window.defaultConfig && window.defaultConfig.version ? window.defaultConfig.version : "1.2.0",
4747
supportsArchiveGroups: false,
4848
endpoints_error_url: "",
4949
known_endpoints_url: "",

src/Frontend/src/views/AuditView.vue

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
11
<script setup lang="ts">
2-
import { licenseStatus } from "../composables/serviceLicense";
3-
import LicenseExpired from "../components/LicenseExpired.vue";
42
import AuditList from "@/components/audit/AuditList.vue";
53
import isAllMessagesSupported, { minimumSCVersionForAllMessages } from "@/components/audit/isAllMessagesSupported.ts";
64
import ConditionalRender from "@/components/ConditionalRender.vue";
5+
import ServiceControlAvailable from "@/components/ServiceControlAvailable.vue";
6+
import LicenseNotExpired from "@/components/LicenseNotExpired.vue";
77
</script>
88

99
<template>
10-
<ConditionalRender :supported="isAllMessagesSupported">
11-
<template #unsupported>
12-
<div class="not-supported">
13-
<p>
14-
The minimum version of ServiceControl required to enable this feature is
15-
<span> {{ minimumSCVersionForAllMessages }} </span>.
16-
</p>
17-
<div>
18-
<a class="btn btn-default btn-primary" href="https://particular.net/downloads" target="_blank">Update ServiceControl to latest version</a>
19-
</div>
20-
</div>
21-
</template>
22-
<LicenseExpired />
23-
<template v-if="!licenseStatus.isExpired">
24-
<div class="container">
25-
<div class="row title">
26-
<div class="col-12">
27-
<h1>All Messages</h1>
10+
<ServiceControlAvailable>
11+
<LicenseNotExpired>
12+
<ConditionalRender :supported="isAllMessagesSupported">
13+
<template #unsupported>
14+
<div class="not-supported">
15+
<p>
16+
The minimum version of ServiceControl required to enable this feature is
17+
<span> {{ minimumSCVersionForAllMessages }} </span>.
18+
</p>
19+
<div>
20+
<a class="btn btn-default btn-primary" href="https://particular.net/downloads" target="_blank">Update ServiceControl to latest version</a>
21+
</div>
22+
</div>
23+
</template>
24+
25+
<div class="container">
26+
<div class="row title">
27+
<div class="col-12">
28+
<h1>All Messages</h1>
29+
</div>
30+
</div>
31+
<div class="row">
32+
<AuditList />
2833
</div>
2934
</div>
30-
<div class="row">
31-
<AuditList />
32-
</div>
33-
</div>
34-
</template>
35-
</ConditionalRender>
35+
</ConditionalRender>
36+
</LicenseNotExpired>
37+
</ServiceControlAvailable>
3638
</template>
3739

3840
<style scoped>

0 commit comments

Comments
 (0)