Commit 56a52339 authored by samdbeckham's avatar samdbeckham

Removes the Status text from the licence reports

parent 804da429
......@@ -3,7 +3,6 @@ import { mapActions } from 'vuex';
import { s__ } from '~/locale/index';
import LicensePackages from './license_packages.vue';
import { LICENSE_APPROVAL_STATUS } from '../constants';
export default {
name: 'LicenseIssueBody',
......@@ -14,25 +13,12 @@ export default {
required: true,
},
},
computed: {
status() {
switch (this.issue.approvalStatus) {
case LICENSE_APPROVAL_STATUS.APPROVED:
return s__('LicenseManagement|Approved');
case LICENSE_APPROVAL_STATUS.BLACKLISTED:
return s__('LicenseManagement|Blacklisted');
default:
return s__('LicenseManagement|Unapproved');
}
},
},
methods: { ...mapActions(['setLicenseInModal']) },
};
</script>
<template>
<div class="report-block-info license-item">
<span class="append-right-5">{{ status }}:</span>
<button
class="btn-blank btn-link append-right-5"
type="button"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment