wip
This commit is contained in:
1 parent
155177045b
commit
51a195e657
6 files changed
+70
-36
No files matched your search
@@ -43,33 +43,26 @@ class BettypeToggle extends Component
|
||||
public function toggleBettype($multiline_setting_id)
|
||||
{
|
||||
BettypeUser::where('multiline_setting_id', $multiline_setting_id)->update(['is_active' => DB::raw('!is_active')]);
|
||||
|
||||
$this->dispatch('refreshBettypeMenu');
|
||||
}
|
||||
|
||||
public function toggleStar()
|
||||
{
|
||||
User::where('id', auth()->user()->id)->update(['filter_stars' => DB::raw('!filter_stars')]);
|
||||
// public function toggleStar()
|
||||
// {
|
||||
// User::where('id', auth()->user()->id)->update(['filter_stars' => DB::raw('!filter_stars')]);
|
||||
// $this->dispatch('filterStarFilter');
|
||||
// }
|
||||
|
||||
$this->dispatch('filterClearFilter');
|
||||
$this->dispatch('refreshBettypeMenu');
|
||||
}
|
||||
// public function toggleNote()
|
||||
// {
|
||||
// User::where('id', auth()->user()->id)->update(['filter_notes' => DB::raw('!filter_notes')]);
|
||||
// $this->dispatch('filterNotificationFilter');
|
||||
// }
|
||||
|
||||
public function toggleNote()
|
||||
{
|
||||
User::where('id', auth()->user()->id)->update(['filter_notes' => DB::raw('!filter_notes')]);
|
||||
|
||||
$this->dispatch('filterClearFilter');
|
||||
$this->dispatch('refreshBettypeMenu');
|
||||
}
|
||||
|
||||
public function toggleNotification()
|
||||
{
|
||||
User::where('id', auth()->user()->id)->update(['filter_notification' => DB::raw('!filter_notification')]);
|
||||
|
||||
$this->dispatch('filterClearFilter');
|
||||
$this->dispatch('refreshBettypeMenu');
|
||||
}
|
||||
// public function toggleNotification()
|
||||
// {
|
||||
// User::where('id', auth()->user()->id)->update(['filter_notification' => DB::raw('!filter_notification')]);
|
||||
// $this->dispatch('filterStarFilter');
|
||||
// }
|
||||
|
||||
public function toggleShowPartner()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user