Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 3.x into v4 #990

Draft
wants to merge 146 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
b9df4df
Drop asset minification feature to fix JS issue with admin not able t…
sampoyigi May 20, 2022
ed16a6d
Add allergens relation to 3.x branch (#978)
ryanmitchell May 30, 2022
e8d8717
minor fix
sampoyigi May 30, 2022
ccbba69
Fix location_options issue when creating a location #981
sampoyigi Jun 1, 2022
721943a
minor fixes
sampoyigi Jun 3, 2022
20a9e62
Remove unique validation rule on allergen, category, location, mealti…
sampoyigi Jun 5, 2022
16f24e0
Add permissions to order, reservation delete bulk action #986
sampoyigi Jun 6, 2022
bc9ceb1
Add padding to modal form fields container
sampoyigi Jun 8, 2022
f70ccc7
Add branch name to split GA
sampoyigi Jun 8, 2022
aeb055b
New admin.list.extendRecords event (#989)
thienvu18 Jun 11, 2022
f499635
Minor fix
sampoyigi Jun 13, 2022
3f5303e
Use locale dates formats in order and reservation emails
sampoyigi Jun 14, 2022
d5fd36c
Minor refactor to assignables
sampoyigi Jun 15, 2022
d91683e
Add location logo mail variables
sampoyigi Jun 15, 2022
a4530bd
Move allocate table logic from booking manager to reservation model
sampoyigi Jun 20, 2022
4d9bdeb
Minor fix
sampoyigi Jun 20, 2022
ec0542b
Add migration to drop all foreign keys due to irritating foreign key …
sampoyigi Jun 30, 2022
5e84a71
Ensure list column names do not much model relation name
sampoyigi Jun 30, 2022
bbaa079
Check foreign key/index exists before dropping
sampoyigi Jul 2, 2022
4635985
Use customer email as replyTo when appropriate (#1002)
ryanmitchell Jul 5, 2022
a3f024a
Ensure guest_num and duration have minimum values (#1001)
ryanmitchell Jul 5, 2022
137734c
use lowest menu option price when menu item price is 0
sampoyigi Jul 5, 2022
652cb6e
Add location options as HasMany relation
sampoyigi Jul 5, 2022
68e405b
Fix location list order type filter
sampoyigi Jul 5, 2022
3016c2f
Add comment column to reservations list tastyigniter/ti-ext-reservati…
sampoyigi Jul 6, 2022
f30bbff
Sort menu item option dropdown alphabetically
sampoyigi Jul 18, 2022
f2c500c
Fix issue where cart item option quantity type calculated value is no…
sampoyigi Jul 19, 2022
b3732a3
Update README.md
sampoyigi Aug 16, 2022
2a754e4
Install core update first instead of ignoring non-core updates
sampoyigi Aug 29, 2022
a937a00
Fix broken link
sampoyigi Aug 29, 2022
6486a89
Minor fix
sampoyigi Aug 30, 2022
2c1f30d
Fix issue where media finder attachment config modal not opening (#1010)
CupNoodles Sep 2, 2022
5bf7b4e
Minor fix
sampoyigi Sep 13, 2022
cfe5f96
Cache location options
sampoyigi Sep 20, 2022
5ec9a23
Make location options fields unique (#1011)
philipxyc Sep 20, 2022
5cbaced
Minor fixes
sampoyigi Sep 30, 2022
da6bc02
Add support for locationable trait on HasManyThrough, HasOneThrough r…
sampoyigi Sep 30, 2022
ed2a910
Allow rendering of multiple list widgets
sampoyigi Oct 4, 2022
98bc919
Fix dashboard news widget feed url
sampoyigi Oct 4, 2022
895d994
Reorder reservation form fields
sampoyigi Oct 4, 2022
5e7fbc5
Minor UI fix
sampoyigi Oct 4, 2022
de8ec05
Fix issue where reservation list can not be filtered by multiple stat…
sampoyigi Oct 15, 2022
9ceb025
Ensure admin password max length is 32 when installing
sampoyigi Oct 15, 2022
359687e
Minor fix
sampoyigi Oct 15, 2022
80a8ba3
Fix dashboard charts not displaying data
sampoyigi Oct 15, 2022
b780b42
Minor refactor
sampoyigi Oct 21, 2022
88f9243
Strip html tags from formatted address
sampoyigi Oct 21, 2022
cd89efb
Support multiple extension paths (#1017)
sampoyigi Oct 23, 2022
c61f8de
Allow payments, themes form query to be extended
sampoyigi Oct 23, 2022
3128a19
Fix issue where staff list is empty
sampoyigi Oct 23, 2022
b889685
Code field on mail layouts and partials should always be unique
sampoyigi Oct 30, 2022
723ed8c
Avoid marking order as processed more than once
sampoyigi Oct 30, 2022
d3da0a0
Minor UI fix
sampoyigi Oct 30, 2022
cf831c8
Minor fix
sampoyigi Nov 1, 2022
00b3b41
Update split modules github action to apply on all branches
sampoyigi Nov 5, 2022
aa53905
Fixed issue where its impossible to unassign a group or staff
sampoyigi Nov 12, 2022
303444d
Fix issue with clockpicker positioning and some minor UI adjustments
sampoyigi Nov 13, 2022
4c01c0d
Added new query scope doesntHaveStatusInHistory
sampoyigi Nov 17, 2022
f9501d9
Avoid negative order total when calculating totals
sampoyigi Nov 17, 2022
c8ff487
Fix issue with managing records when recordeditor is in radio mode
sampoyigi Nov 17, 2022
f6579ba
Minor fix
sampoyigi Dec 1, 2022
6e77da7
Minor fix
sampoyigi Jan 9, 2023
56a53e1
Fix issue opening multiple record editor modals.
sampoyigi Jan 13, 2023
2e70026
Use str_replace to remove double slash instead of realpath to avoid i…
sampoyigi Jan 17, 2023
8d7c0e8
Move subtract stock listener to cart extension, fixes #1019 stock sol…
sampoyigi Jan 28, 2023
06fb712
Add missing low_stock_alert mail template
sampoyigi Jan 28, 2023
3582ec1
Add missing user invite mail templates
sampoyigi Jan 28, 2023
e0c5809
Remove unused mail template lang strings
sampoyigi Jan 28, 2023
9093f72
Sort stock history in descending order
sampoyigi Jan 28, 2023
edc398e
Fix issue extending system settings fields
sampoyigi Jan 28, 2023
e3944d3
Update lang string
sampoyigi Jan 28, 2023
70362a5
Fixed filtering issue on admin staff page (#1026)
sampoyigi Feb 2, 2023
a85efb9
Fixed issue with list filter scope conditions
sampoyigi Feb 2, 2023
2ea79ab
Fixed issue with loading assets from symlink
sampoyigi Feb 11, 2023
7aaab3d
Added support for order delivery notes
sampoyigi Feb 11, 2023
db8e593
Ensure menu item minimum quantity is always 1 when nothing is specified
sampoyigi Feb 18, 2023
d9aa44b
Replaced bootstrap-color-picker with HTML color picker
sampoyigi Feb 18, 2023
05bf264
Update UI assets
sampoyigi Feb 18, 2023
a5e50d7
Replaced boostrap-multiselect with slimselect js library
sampoyigi Feb 19, 2023
6a19259
Added github action for compiling assets
sampoyigi Feb 19, 2023
bdde19f
Set working directory on compile assets github action
sampoyigi Feb 19, 2023
fb9e807
Set write permission and commit options on compile assets github action
sampoyigi Feb 19, 2023
71ef030
Add token to compile assets github action
sampoyigi Feb 19, 2023
415499e
Compile Assets
sampoyigi Feb 19, 2023
6fc0b21
Update broken badge
sampoyigi Feb 19, 2023
da85192
Prevent errors in one file from affecting the execution of other file…
sampoyigi Feb 23, 2023
9139f87
Fix issue replacing html DOM on ajaxUpdate
sampoyigi Feb 27, 2023
ca11825
Compile Assets
sampoyigi Feb 27, 2023
99d9d39
Bump symplify/github-action-monorepo-split from 2.0 to 2.3
sampoyigi Mar 1, 2023
d0d82ee
Bump symplify/github-action-monorepo-split to 2.3.0
sampoyigi Mar 1, 2023
bdbd593
Bump symplify/github-action-monorepo-split to 2.3.0
sampoyigi Mar 1, 2023
eb0b7a3
Remove colorpicker js library
sampoyigi Mar 15, 2023
5a7a6a9
Apply fixes from StyleCI (#1030)
sampoyigi Mar 15, 2023
c61abcb
Bump webpack from 5.75.0 to 5.76.1 in /app/admin/assets (#1029)
dependabot[bot] Mar 15, 2023
1099e13
Fake commit to bump flame library
sampoyigi Mar 15, 2023
7c12951
Move order & reservation cancel logic to model
sampoyigi Mar 16, 2023
f7e3aef
Fix typo in list colum type
sampoyigi Apr 12, 2023
2a30fc3
Remove JSScope assetic filter
sampoyigi Apr 12, 2023
ea6f83a
Bring back option to manually set reservation tables
sampoyigi Apr 12, 2023
c56482a
Change access token for compile action
sampoyigi Apr 20, 2023
f09796e
Compile Assets
sampoyigi Apr 20, 2023
a37e6c2
Add binding of toolbar widget to controller in ListController.
sampoyigi May 3, 2023
6898920
Refactor Assets.php and ViewMaker.php to use File::isFile() instead o…
sampoyigi May 8, 2023
f4c5f80
Add hidden input field for column order in list setup form.
sampoyigi Jun 1, 2023
46b33d1
Add support for passing an array of status data as argument to `markA…
sampoyigi Jun 1, 2023
71b857c
Fix typo in method name for checking enabled countries in Countries_m…
sampoyigi Jun 1, 2023
1c15e04
Refactor AssetMaker::getAssetPath to return the file name without con…
sampoyigi Jun 1, 2023
95a7f6b
Dashboard widget improvements
sampoyigi Jun 6, 2023
a1ad1ed
Refactor PropertyContainer.php to merge multiple properties using the…
sampoyigi Jun 6, 2023
99134c0
Assets:getAssetsPath method to return the public path of a file if it…
sampoyigi Jun 6, 2023
1208f2c
Add 'telephone' and 'email' fields to the orders and reservations mod…
sampoyigi Jun 9, 2023
f92c18e
Add validation for dashboard widget properties.
sampoyigi Jun 9, 2023
173e909
Refactor asset path handling
sampoyigi Jun 10, 2023
f3e83c8
Update news feed links to use the dashboard referral parameter on blo…
sampoyigi Jun 13, 2023
e564134
Make telephone and email fields searchable on orders and reservations…
sampoyigi Jun 14, 2023
46748db
Refactor BaseDashboardWidget.php to no longer pass $properties to fil…
sampoyigi Jun 14, 2023
21df1e4
Refactor chart initialization, add locale to dashboard container, and…
sampoyigi Jun 17, 2023
9167041
Fix bug in LocationAwareWidget.php where getAll() method was called i…
sampoyigi Jun 19, 2023
2e5711b
Apply fixes from StyleCI (#1041)
sampoyigi Jun 19, 2023
21433fc
Use environment variable for admin uri (#1040)
mrdezzods Jun 21, 2023
eb45338
Allow deselecting select options
sampoyigi Jul 5, 2023
f667e3f
Code refactor
sampoyigi Jul 20, 2023
d678090
Refactor Reservations_model::getNextBookableTable() to only retrieve …
sampoyigi Aug 7, 2023
cf3403c
Refactor LogUserLastSeen.php to support multiple authentication servi…
sampoyigi Aug 15, 2023
e92c6e4
Escape richeditor, markdowneditor eidget values to avoid XSS attacks
sampoyigi Aug 30, 2023
502b49b
Remove option to configure sendmail path by admin
sampoyigi Aug 30, 2023
e4ed076
Menu priority rule (#1050)
Concreta09 Sep 27, 2023
2682642
Fix UI issue with markdown editor
sampoyigi Sep 22, 2023
0fdd266
Fixes issue with attaching media
sampoyigi Oct 3, 2023
3472490
Fix issue with assignee not populating when assignee group is selected
sampoyigi Oct 5, 2023
4e0d636
Apply locationable on status editor assignee dropdown
sampoyigi Oct 6, 2023
1c262c4
system.urlPolicy config can be set from env variable (#1063)
mrdezzods Dec 27, 2023
f916a34
Resolve temporarily open_basedir issue (#1061)
Concreta09 Dec 27, 2023
9555751
Catch broken dashboard widgets exception
sampoyigi Dec 31, 2023
638836e
Update composer.json
sampoyigi Dec 31, 2023
1ddc4ac
Restore config backup when extracting core files fails
sampoyigi Dec 31, 2023
f108493
Minor fix
sampoyigi Jan 5, 2024
1f8323f
Fix missing closing parenthesis in form.js
sampoyigi Jan 6, 2024
f45c55c
Clean JS files for case-insensitive file systems (#1057)
heyanlong Feb 5, 2024
60da13e
Update $defaultFormat in Country.php (#1067)
antoniozh Feb 5, 2024
f68d525
Bump follow-redirects from 1.15.2 to 1.15.4 in /app/admin/assets (#1065)
dependabot[bot] Feb 5, 2024
d1f380d
Fixed path to the Menus-v2 image file in demo theme. (#1077)
mindflowgo May 7, 2024
8c80545
compile assets
sampoyigi May 7, 2024
b801e67
Compile Assets
sampoyigi May 7, 2024
bc67034
Fixes #1075
sampoyigi May 9, 2024
ac39e52
Compile Assets
sampoyigi May 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions .github/workflows/compile-assets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Compile Assets

on: [push]

jobs:
compile:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
token: ${{ secrets.ACCESS_TOKEN }}

- uses: actions/setup-node@v3
with:
node-version: 16

- name: Install NPM dependencies
working-directory: ./app/admin/assets
run: npm ci

- name: Compile assets
working-directory: ./app/admin/assets
run: npm run prod

- name: Commit compiled files
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Compile Assets
commit_options: '--no-verify --signoff'
file_pattern: app/
30 changes: 15 additions & 15 deletions .github/workflows/split.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ name: Split Modules
on:
push:
branches:
- master
- develop
- 3.x
- '*'
tags:
- '*'

Expand All @@ -30,28 +28,30 @@ jobs:
- if: "!startsWith(github.ref, 'refs/tags/')"
# Uses an action in the root directory
name: Module Split of app/${{ matrix.package.path }}
uses: symplify/github-action-monorepo-split@2.0
uses: danharrin/monorepo-split-github-action@v2.3.0
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
package-directory: 'app/${{ matrix.package.path }}'
split-repository-organization: 'tastyigniter'
split-repository-name: '${{ matrix.package.repository }}'
user-name: "Sam Poyigi"
user-email: "6567634+sampoyigi@users.noreply.github.com"
branch: ${GITHUB_REF#refs/heads/}

package_directory: 'app/${{ matrix.package.path }}'
repository_organization: 'tastyigniter'
repository_name: '${{ matrix.package.repository }}'
user_name: "Sam Poyigi"
user_email: "6567634+sampoyigi@users.noreply.github.com"

# with tag
- if: "startsWith(github.ref, 'refs/tags/')"
# Uses an action in the root directory
name: Modules Tagged Split of ${{ matrix.package.path }}
uses: symplify/github-action-monorepo-split@2.0
uses: danharrin/monorepo-split-github-action@v2.3.0
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
tag: ${GITHUB_REF#refs/tags/}

package-directory: 'app/${{ matrix.package.path }}'
split-repository-organization: 'tastyigniter'
split-repository-name: '${{ matrix.package.repository }}'
user-name: "Sam Poyigi"
user-email: "6567634+sampoyigi@users.noreply.github.com"
package_directory: 'app/${{ matrix.package.path }}'
repository_organization: 'tastyigniter'
repository_name: '${{ matrix.package.repository }}'
user_name: "Sam Poyigi"
user_email: "6567634+sampoyigi@users.noreply.github.com"
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<p align="center"><a href="https://tastyigniter" target="_blank"><img src="https://tastyigniter.com/assets/ui/images/logos/logo-padded.png" width="400"></a></p>
<p align="center"><a href="https://tastyigniter" target="_blank"><img src="https://tastyigniter.com/images/logos/logo-padded.png" width="400"></a></p>

<p align="center">
<a href="https://packagist.org/packages/tastyigniter/TastyIgniter"><img src="https://img.shields.io/packagist/v/tastyigniter/TastyIgniter.svg?label=Stable&style=flat-square" alt="Stable"></a>
<a href="https://packagist.org/packages/tastyigniter/TastyIgniter"><img src="https://poser.pugx.org/tastyigniter/flame/downloads" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/tastyigniter/TastyIgniter"><img src="https://img.shields.io/github/workflow/status/tastyigniter/TastyIgniter/Tests?label=Tests" alt="GitHub Workflow Status"></a>
<a href="https://packagist.org/packages/tastyigniter/TastyIgniter"><img src="https://img.shields.io/github/actions/workflow/status/tastyigniter/TastyIgniter/tests.yml?branch=3.x&label=Tests" alt="GitHub Workflow Status"></a>
<a href="https://github.styleci.io/repos/16455664"><img src="https://github.styleci.io/repos/7548986/shield?style=flat" alt="Build Status"></a>
<a href="https://github.com/tastyigniter/TastyIgniter/blob/master/LICENSE.txt"><img src="https://img.shields.io/github/license/tastyigniter/TastyIgniter.svg?label=License&style=flat-square" alt="License"></a>
<a href="https://crowdin.com/project/tastyigniter"><img src="https://badges.crowdin.net/tastyigniter/localized.svg" alt="Crowdin"></a>
Expand All @@ -13,7 +13,7 @@
[TastyIgniter](https://tastyigniter.com/) provides a professional and reliable platform for restaurants wanting to offer
online food ordering and table reservation to their customers.

![screenshot](https://tastyigniter.com/assets/ui/images/mockups/Menus-v2.png)
![screenshot](https://tastyigniter.com/images/mockups/Menus-v2.png)

### Documentation
The best place to learn TastyIgniter is by reading the [documentation](https://tastyigniter.com/docs)
Expand Down Expand Up @@ -66,5 +66,5 @@ TastyIgniter was created by [Samuel Adepoyigi](https://github.com/sampoyigi).
If you discover a security vulnerability within TastyIgniter, please send an e-mail to support@tastyigniter.com.

## License
Starting with version 3.0.0 TastyIgniter is licensed under the [The MIT License (MIT)](https://tastyigniter.com/licence/). Older versions were GPL-licensed.
Starting with version 3.0.0 TastyIgniter is licensed under the [The MIT License (MIT)](https://tastyigniter.com/license/). Older versions were GPL-licensed.

17 changes: 10 additions & 7 deletions app/admin/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ protected function registerMailTemplates()
'admin::_mail.reservation_update' => 'lang:system::lang.mail_templates.text_reservation_update',
'admin::_mail.password_reset' => 'lang:system::lang.mail_templates.text_password_reset_alert',
'admin::_mail.password_reset_request' => 'lang:system::lang.mail_templates.text_password_reset_request_alert',
'admin::_mail.invite' => 'lang:system::lang.mail_templates.text_invite',
'admin::_mail.invite_customer' => 'lang:system::lang.mail_templates.text_invite_customer',
'admin::_mail.low_stock_alert' => 'lang:system::lang.mail_templates.text_low_stock_alert',
]);
});
}
Expand All @@ -88,7 +91,7 @@ protected function registerAssets()
}

// Admin asset bundles
$manager->registerBundle('scss', '~/app/admin/assets/scss/admin.scss', null, 'admin');
$manager->registerBundle('scss', '~/app/admin/assets/src/scss/admin.scss', null, 'admin');
});
}

Expand All @@ -99,33 +102,33 @@ protected function registerDashboardWidgets()
{
Widgets::instance()->registerDashboardWidgets(function (Widgets $manager) {
$manager->registerDashboardWidget(\System\DashboardWidgets\Activities::class, [
'code' => 'recent-activities',
'label' => 'Recent activities',
'context' => 'dashboard',
]);

$manager->registerDashboardWidget(\System\DashboardWidgets\Cache::class, [
'code' => 'cache',
'label' => 'Cache Usage',
'context' => 'dashboard',
]);

$manager->registerDashboardWidget(\System\DashboardWidgets\News::class, [
'code' => 'news',
'label' => 'Latest News',
'context' => 'dashboard',
]);

$manager->registerDashboardWidget(\Admin\DashboardWidgets\Statistics::class, [
'code' => 'stats',
'label' => 'Statistics widget',
'context' => 'dashboard',
]);

$manager->registerDashboardWidget(\Admin\DashboardWidgets\Onboarding::class, [
'code' => 'onboarding',
'label' => 'Onboarding widget',
'context' => 'dashboard',
]);

$manager->registerDashboardWidget(\Admin\DashboardWidgets\Charts::class, [
'code' => 'charts',
'label' => 'Charts widget',
'context' => 'dashboard',
]);
});
}
Expand Down
2 changes: 1 addition & 1 deletion app/admin/actions/FormController.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public function create_onSave($context = null)
public function edit($context = null, $recordId = null)
{
try {
$this->context = $context ?: $this->getConfig('edit[context]', self::CONTEXT_CREATE);
$this->context = $context ?: $this->getConfig('edit[context]', self::CONTEXT_EDIT);

$this->setFormTitle('lang:admin::lang.form.edit_title');

Expand Down
21 changes: 13 additions & 8 deletions app/admin/actions/ListController.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ListController extends ControllerAction
/**
* @var \Admin\Widgets\Toolbar[] Reference to the toolbar widget objects.
*/
protected $toolbarWidget;
protected $toolbarWidgets = [];

/**
* @var \Admin\Widgets\Filter[] Reference to the filter widget objects.
Expand Down Expand Up @@ -176,9 +176,9 @@ public function makeList($alias)
$model = $this->controller->listExtendModel($model, $alias);

// Prep the list widget config
$requiredConfig = ['list'];
$requiredConfig = [$alias];
$configFile = $listConfig['configFile'];
$modelConfig = $this->loadConfig($configFile, $requiredConfig, 'list');
$modelConfig = $this->loadConfig($configFile, $requiredConfig, $alias);

$columnConfig['bulkActions'] = $modelConfig['bulkActions'] ?? [];
$columnConfig['columns'] = $modelConfig['columns'];
Expand All @@ -199,6 +199,10 @@ public function makeList($alias)
$this->controller->listExtendQuery($query, $alias);
});

$widget->bindEvent('list.extendRecords', function ($records) use ($alias) {
return $this->controller->listExtendRecords($records, $alias);
});

$widget->bindEvent('list.overrideColumnValue', function ($record, $column, $value) use ($alias) {
return $this->controller->listOverrideColumnValue($record, $column, $alias);
});
Expand All @@ -211,9 +215,10 @@ public function makeList($alias)

// Prep the optional toolbar widget
if (isset($this->controller->widgets['toolbar']) && (isset($listConfig['toolbar']) || isset($modelConfig['toolbar']))) {
$this->toolbarWidget = $this->controller->widgets['toolbar'];
if ($this->toolbarWidget instanceof \Admin\Widgets\Toolbar)
$this->toolbarWidget->reInitialize($listConfig['toolbar'] ?? $modelConfig['toolbar']);
$this->toolbarWidget[$alias] = clone $this->controller->widgets['toolbar'];
if ($this->toolbarWidget[$alias] instanceof \Admin\Widgets\Toolbar)
$this->toolbarWidget[$alias]->reInitialize($listConfig['toolbar'] ?? $modelConfig['toolbar']);
$this->toolbarWidget[$alias]->bindToController();
}

// Prep the optional filter widget
Expand Down Expand Up @@ -271,8 +276,8 @@ public function renderList($alias = null)

$list = [];

if (!is_null($this->toolbarWidget)) {
$list[] = $this->toolbarWidget->render();
if (isset($this->toolbarWidget[$alias])) {
$list[] = $this->toolbarWidget[$alias]->render();
}

if (isset($this->filterWidgets[$alias])) {
Expand Down
1 change: 0 additions & 1 deletion app/admin/assets/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules
mix-manifest.json
package-lock.json
26 changes: 13 additions & 13 deletions app/admin/assets/css/admin.css

Large diffs are not rendered by default.

Binary file modified app/admin/assets/fonts/FontAwesome/fa-brands-400.ttf
Binary file not shown.
Binary file modified app/admin/assets/fonts/FontAwesome/fa-brands-400.woff2
Binary file not shown.
Binary file modified app/admin/assets/fonts/FontAwesome/fa-regular-400.ttf
Binary file not shown.
Binary file modified app/admin/assets/fonts/FontAwesome/fa-regular-400.woff2
Binary file not shown.
Binary file modified app/admin/assets/fonts/FontAwesome/fa-solid-900.ttf
Binary file not shown.
Binary file modified app/admin/assets/fonts/FontAwesome/fa-solid-900.woff2
Binary file not shown.
Binary file modified app/admin/assets/fonts/FontAwesome/fa-v4compatibility.ttf
Binary file not shown.
Binary file modified app/admin/assets/fonts/FontAwesome/fa-v4compatibility.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion app/admin/assets/js/admin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/admin/assets/js/updates.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
})
}

// Move to script tags instead
// @todo: Move to script tags instead
Updates.TEMPLATES = {
suggestion: [
'<div class="item-details">',
Expand Down