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