Skip to content

Commit

Permalink
Fix for merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
hujambo-dunia committed Mar 1, 2024
1 parent 30c549e commit 17e92f4
Showing 1 changed file with 0 additions and 57 deletions.
57 changes: 0 additions & 57 deletions client/src/components/JobInformation/JobInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,66 +165,9 @@ function filterMetadata(jobMessages) {
</div>
</template>

<<<<<<< HEAD
<script>
import CopyToClipboard from "components/CopyToClipboard";
import { JobDetailsProvider } from "components/providers/JobProvider";
import UtcDate from "components/UtcDate";
import { formatDuration, intervalToDuration } from "date-fns";
import { getAppRoot } from "onload/loadConfig";
import JOB_STATES_MODEL from "utils/job-states-model";
import DecodedId from "../DecodedId.vue";
import CodeRow from "./CodeRow.vue";
export default {
components: {
CodeRow,
DecodedId,
JobDetailsProvider,
UtcDate,
CopyToClipboard,
},
props: {
job_id: {
type: String,
required: true,
},
includeTimes: {
type: Boolean,
default: false,
},
},
data() {
return {
job: null,
};
},
computed: {
runTime: function () {
return formatDuration(
intervalToDuration({ start: new Date(this.job.create_time), end: new Date(this.job.update_time) })
);
},
jobIsTerminal() {
return this.job && !JOB_STATES_MODEL.NON_TERMINAL_STATES.includes(this.job.state);
},
},
methods: {
getAppRoot() {
return getAppRoot();
},
updateJob(job) {
this.job = job;
},
},
};
</script>
=======
<style scoped>
.tooltipJobInfo {
text-decoration-line: underline;
text-decoration-style: dashed;
}
</style>
>>>>>>> 1a7547f49a (Added job error message detail)

0 comments on commit 17e92f4

Please sign in to comment.