瀏覽代碼

修改错误的label使用

CYW 4 年之前
父節點
當前提交
2edc6d41cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Grid/Displayers/Actions.php

+ 1 - 1
src/Grid/Displayers/Actions.php

@@ -282,7 +282,7 @@ class Actions extends AbstractDisplayer
      */
     protected function getEditLabel()
     {
-        $label = trans('admin.show');
+        $label = trans('admin.edit');
 
         return "<i title='{$label}' class=\"feather icon-edit-1 grid-action-icon\"></i> &nbsp;";
     }