/** * Render environments table. */ const Vue = require('vue'); const EnvironmentItem = require('./environment_item'); module.exports = Vue.component('environment-table-component', { components: { 'environment-item': EnvironmentItem, }, props: { environments: { type: Array, required: true, default: () => ([]), }, canReadEnvironment: { type: Boolean, required: false, default: false, }, canCreateDeployment: { type: Boolean, required: false, default: false, }, commitIconSvg: { type: String, required: false, }, playIconSvg: { type: String, required: false, }, terminalIconSvg: { type: String, required: false, }, }, template: `
Environment | Last deployment | Job | Commit | Updated | |
---|---|---|---|---|---|