歌曲 編輯畫面問題修正 20250507
This commit is contained in:
parent
c1125ae141
commit
e53e2402bf
@ -264,7 +264,7 @@ final class SongTable extends PowerGridComponent
|
|||||||
->slot(__('songs.edit'))
|
->slot(__('songs.edit'))
|
||||||
->icon('solid-pencil-square')
|
->icon('solid-pencil-square')
|
||||||
->class('inline-flex items-center gap-1 px-3 py-1 rounded ')
|
->class('inline-flex items-center gap-1 px-3 py-1 rounded ')
|
||||||
->dispatchTo('admin.song-form', 'openEditSongModal', ['id' => $row->id]);
|
->dispatchTo('admin.song-form', 'openModal', ['id' => $row->id]);
|
||||||
}
|
}
|
||||||
if($this->canDelect){
|
if($this->canDelect){
|
||||||
$actions[]=Button::add('delete')
|
$actions[]=Button::add('delete')
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div class="flex justify-end mb-2 mr-2 mt-2 sm:mt-0 gap-3">
|
<div class="flex justify-end mb-2 mr-2 mt-2 sm:mt-0 gap-3">
|
||||||
<x-wireui:button
|
<x-wireui:button
|
||||||
wire:click="$dispatchTo('admin.song-form', 'openCreateSongModal')"
|
wire:click="$dispatchTo('admin.song-form', 'openModal')"
|
||||||
icon="plus"
|
icon="plus"
|
||||||
label="{{ __('songs.CreateNew') }}"
|
label="{{ __('songs.CreateNew') }}"
|
||||||
class="bg-blue-600 text-white"
|
class="bg-blue-600 text-white"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user