Remove unneeded folder condition for pages

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