mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
Compare commits
2 Commits
v4.10.14-l
...
v4.10.0-lt
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42d226ec91 | ||
|
|
69f5eff19c |
@@ -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,
|
||||
|
||||
@@ -58,7 +58,7 @@ export default {
|
||||
'SECURITY_WATERMARK_HEIGHT',
|
||||
'SECURITY_WATERMARK_WIDTH',
|
||||
'SECURITY_WATERMARK_ROTATE'
|
||||
] : []
|
||||
] : ['SECURITY_WATERMARK_ENABLED']
|
||||
]
|
||||
],
|
||||
fieldsMeta: {
|
||||
|
||||
@@ -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/'
|
||||
|
||||
Reference in New Issue
Block a user