Compare commits

...

2 Commits

Author SHA1 Message Date
w940853815
42d226ec91 fix: Community edition open watermark 2025-05-16 18:06:32 +08:00
w940853815
69f5eff19c fix: open monitor link in a new tab 2025-05-16 15:58:35 +08:00
3 changed files with 3 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ export default {
},
createWatermark() {
if (this.currentUser?.username && this.publicSettings?.SECURITY_WATERMARK_ENABLED && this.$store.getters.hasValidLicense) {
if (this.currentUser?.username && this.publicSettings?.SECURITY_WATERMARK_ENABLED) {
this.watermark = new Watermark({
content: this.getWaterMarkContent(),
width: this.publicSettings?.SECURITY_WATERMARK_WIDTH,

View File

@@ -58,7 +58,7 @@ export default {
'SECURITY_WATERMARK_HEIGHT',
'SECURITY_WATERMARK_WIDTH',
'SECURITY_WATERMARK_ROTATE'
] : []
] : ['SECURITY_WATERMARK_ENABLED']
]
],
fieldsMeta: {

View File

@@ -134,7 +134,7 @@ export default {
},
onMonitor() {
const joinUrl = `/luna/monitor/${this.session.id}?ticket_id=${this.object.id}`
window.open(joinUrl, 'height=600, width=850, top=400, left=400, toolbar=no, menubar=no, scrollbars=no, location=no, status=no')
window.open(joinUrl, '_blank', 'height=600, width=850, top=400, left=400, toolbar=no, menubar=no, scrollbars=no, location=no, status=no')
},
onToggleLock() {
const url = '/api/v1/terminal/tasks/toggle-lock-session-for-ticket/'