Skip to content

Commit

Permalink
Merge pull request #64 from rubensrocha/master
Browse files Browse the repository at this point in the history
Fixed bug on menu icon
  • Loading branch information
agungsugiarto authored Jun 11, 2020
2 parents 03e13e4 + f5d39c1 commit 7429d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Views/Menu/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function menu() {
maxDepth: 2,
json: response.data,
contentCallback: (item) => {
return `<i class="fa ${item.icon}"></i>&nbsp;<strong>${item.title}</strong>&nbsp;&nbsp;&nbsp;<a href="<?= base_url() ?>/${item.route}" class="dd-nodrag">${item.route}</a>
return `<i class="${item.icon}"></i>&nbsp;<strong>${item.title}</strong>&nbsp;&nbsp;&nbsp;<a href="<?= base_url() ?>/${item.route}" class="dd-nodrag">${item.route}</a>
<span class="float-right dd-nodrag">
<button data-id="${item.id}" id="btn-edit" class="btn btn-primary btn-xs"><span class="fa fa-fw fa-pencil-alt"></span></button>
<button data-id="${item.id}" id="btn-delete" class="btn btn-danger btn-xs"><span class="fa fa-fw fa-trash"></span></button>
Expand Down

0 comments on commit 7429d77

Please sign in to comment.