We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 445b9e3 commit 2dd0d22Copy full SHA for 2dd0d22
src/views/Log.vue
@@ -313,14 +313,12 @@ export default {
313
314
created () {
315
// set the ID/file if specified in initialOptions
316
- if (this.initialOptions && this.initialOptions.tokens) {
317
- if (this.initialOptions.tokens.task) {
318
- this.$data.relativeID = this.initialOptions.tokens.relative_id
319
- this.$data.jobLog = 1
320
- }
+ if (this.initialOptions?.tokens?.task) {
+ this.relativeID = this.initialOptions.tokens.relative_id
+ this.jobLog = 1
321
}
322
- if (this.initialOptions && this.initialOptions.file) {
323
- this.$data.file = this.initialOptions.file
+ if (this.initialOptions?.file) {
+ this.file = this.initialOptions.file
324
325
},
326
0 commit comments