Fix target link
This commit is contained in:
parent
1f38de989b
commit
5ea8f7df33
2 changed files with 2 additions and 2 deletions
|
@ -144,7 +144,7 @@ class Item extends Model
|
|||
}
|
||||
}
|
||||
|
||||
public function getTargetAttribute()
|
||||
public function getLinkTargetAttribute()
|
||||
{
|
||||
if((int)$this->type === 1) {
|
||||
return '';
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<div data-id="{{ $app->id }}" data-dataonly="{{ $app->config->dataonly or '0' }}" class="livestats-container"></div>
|
||||
@endif
|
||||
</div>
|
||||
<a class="link"{{ $app->target }} href="{{ $app->link }}"><i class="fas {{ $app->link_icon }}"></i></a>
|
||||
<a class="link"{{ $app->link_target }} href="{{ $app->link }}"><i class="fas {{ $app->link_icon }}"></i></a>
|
||||
</div>
|
||||
<a class="item-edit" href="{{ route($app->link_type.'.edit', [ $app->id ], false) }}"><i class="fas fa-pencil"></i></a>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue