Can't install Drupal on prod
This commit is contained in:
parent
a8c17e85bb
commit
721503e6e7
|
@ -20,9 +20,19 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import _ from 'lodash'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
links: Array,
|
||||
},
|
||||
|
||||
computed: {
|
||||
filteredLinks: function () {
|
||||
let links = this.links
|
||||
|
||||
return _.omitBy(links, _.isEmpty)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -27,9 +27,9 @@
|
|||
|
||||
<template slot="right">
|
||||
<header-buttons :links="[
|
||||
{ title: 'Install Drupal', icon: 'actions__upload', disabled: false },
|
||||
!isProduction ? { title: 'Install Drupal', icon: 'actions__upload', disabled: false } : {},
|
||||
{ title: 'Clear Varnish', icon: 'alpha__clear-cache', disabled: false },
|
||||
{ title: 'Live development', icon: 'actions__publish-settings', disabled: false },
|
||||
!isProduction ? { title: 'Live development', icon: 'actions__publish-settings', disabled: false } : { title: 'Production mode', icon: 'state__locked', disabled: false },
|
||||
{ title: 'Rename', icon: 'actions__edit', disabled: false },
|
||||
{ title: 'Configure', icon: 'actions__setting', disabled: false },
|
||||
]"></header-buttons>
|
||||
|
|
Reference in a new issue