Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 649116b

Browse files
Splaktarjosephperrott
authored andcommitted
fix(panel): caching of panels by id is not working (#11638)
1 parent 371d5a0 commit 649116b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/panel/panel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ MdPanelService.prototype.create = function(preset, config) {
11671167

11681168
// Create the panelRef and add it to the `_trackedPanels` object.
11691169
var panelRef = new MdPanelRef(this._config, this._$injector);
1170-
this._trackedPanels[config.id] = panelRef;
1170+
this._trackedPanels[this._config.id] = panelRef;
11711171

11721172
// Add the panel to each of its requested groups.
11731173
if (this._config.groupName) {

0 commit comments

Comments
 (0)