Fix types of props

This commit is contained in:
Adam Goldsmith 2020-01-16 11:37:48 -05:00
parent 665c380e4c
commit dcaceffac6
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
<Job
v-for="(jobEvents, jid) in jobs"
:key="jid"
:jid="jid"
:jid="Number(jid)"
:events="jobEvents"
:showRawEvents="showRawEvents"
:hideFindJob="hideFindJob"

View File

@ -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,