Skip to content

Commit

Permalink
bug: remove mdi from views
Browse files Browse the repository at this point in the history
  • Loading branch information
mhzawadi committed Jan 9, 2023
1 parent d9ed1e2 commit 8d80d8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/classes/application_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public function build_app_table($applications){
if($app['url'] == $app['description']){
$app['description'] = '';
}
$app['icon'] = str_replace('mdi:', '', $app['icon']);
$app_list .= '<tr data-rbd-draggable-context-id="1" data-rbd-draggable-id="46" tabindex="0" role="button" aria-describedby="rbd-hidden-text-1-hidden-text-22" data-rbd-drag-handle-draggable-id="46" data-rbd-drag-handle-context-id="1" draggable="false">'."\n";
$app_list .= ' <td style="width: 200px;">'.$app['name'].'</td>'."\n";
$app_list .= ' <td style="width: 200px;">'.$app['url'].'</td>'."\n";
Expand Down
1 change: 1 addition & 0 deletions src/classes/bookmark_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public function build_bookmark_table($category){
$bookmark_list .= ' </thead>'."\n";
$bookmark_list .= ' <tbody>'."\n";
foreach($bookmarks as $key => $bookmark){
$bookmark['icon'] = str_replace('mdi:', '', $bookmark['icon']);
$bookmark_list .= ' <tr data-rbd-draggable-context-id="1" data-rbd-draggable-id="46" tabindex="0" role="button" aria-describedby="rbd-hidden-text-1-hidden-text-22" data-rbd-drag-handle-draggable-id="46" data-rbd-drag-handle-context-id="1" draggable="false">'."\n";
$bookmark_list .= ' <td style="width: 200px;">'.$bookmark['name'].'</td>'."\n";
$bookmark_list .= ' <td style="width: 400px;">'.$bookmark['url'].'</td>'."\n";
Expand Down

0 comments on commit 8d80d8d

Please # to comment.