Fix types of props
This commit is contained in:
parent
665c380e4c
commit
dcaceffac6
@ -18,7 +18,7 @@
|
||||
<Job
|
||||
v-for="(jobEvents, jid) in jobs"
|
||||
:key="jid"
|
||||
:jid="jid"
|
||||
:jid="Number(jid)"
|
||||
:events="jobEvents"
|
||||
:showRawEvents="showRawEvents"
|
||||
:hideFindJob="hideFindJob"
|
||||
|
@ -48,7 +48,7 @@ export default class Job extends Vue {
|
||||
@Prop(Number) readonly jid: salt.JobID;
|
||||
@Prop(Boolean) readonly showRawEvents: boolean;
|
||||
@Prop() readonly events: salt.JobEvent[];
|
||||
@Prop(String) readonly hideFindJob: string;
|
||||
@Prop(Boolean) readonly hideFindJob: boolean;
|
||||
|
||||
isJobEventType<T extends salt.JobEvent['splitTag'][3]>(
|
||||
event: salt.JobEvent,
|
||||
|
Loading…
Reference in New Issue
Block a user