/** * Render environments table. */ import EnvironmentTableRowComponent from './environment_item'; export default { components: { 'environment-item': EnvironmentTableRowComponent, }, props: { environments: { type: Array, required: true, default: () => ([]), }, canReadEnvironment: { type: Boolean, required: false, default: false, }, canCreateDeployment: { type: Boolean, required: false, default: false, }, service: { type: Object, required: true, }, isLoadingFolderContent: { type: Boolean, required: false, default: false, }, }, methods: { folderUrl(model) { return `${window.location.pathname}/folders/${model.folderName}`; }, }, template: `
Environment Last deployment Job Commit Updated
`, };