Remove unneeded folder condition for pages

parent 34fee80f
......@@ -70,8 +70,7 @@
<el-button-group>
<el-button
size="small"
@click.prevent="goToEdit(scope)"
v-if="! scope.row.is_folder"><i class="fa fa-pencil"></i></el-button>
@click.prevent="goToEdit(scope)"><i class="fa fa-pencil"></i></el-button>
<delete-button :scope="scope" :rows="data"></delete-button>
</el-button-group>
......
......@@ -91822,7 +91822,6 @@ var _data = void 0; //
//
//
//
//
exports.default = {
mixins: [_ShortcutHelper2.default],
......@@ -92206,25 +92205,19 @@ var render = function() {
_c(
"el-button-group",
[
!scope.row.is_folder
? _c(
"el-button",
{
attrs: { size: "small" },
on: {
click: function($event) {
$event.preventDefault()
_vm.goToEdit(scope)
}
}
},
[
_c("i", {
staticClass: "fa fa-pencil"
})
]
)
: _vm._e(),
_c(
"el-button",
{
attrs: { size: "small" },
on: {
click: function($event) {
$event.preventDefault()
_vm.goToEdit(scope)
}
}
},
[_c("i", { staticClass: "fa fa-pencil" })]
),
_vm._v(" "),
_c("delete-button", {
attrs: { scope: scope, rows: _vm.data }
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