mirror of
https://github.com/mathuo/dockview
synced 2025-02-09 01:45:45 +00:00
chore: fix error message
This commit is contained in:
parent
eaabf7968c
commit
459963c13b
@ -1418,7 +1418,7 @@ export class DockviewComponent
|
|||||||
|
|
||||||
if (!referencePanel) {
|
if (!referencePanel) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`referencePanel ${options.position.referencePanel} does not exist`
|
`referencePanel '${options.position.referencePanel}' does not exist`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1432,7 +1432,7 @@ export class DockviewComponent
|
|||||||
|
|
||||||
if (!referenceGroup) {
|
if (!referenceGroup) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`referencePanel ${options.position.referenceGroup} does not exist`
|
`referenceGroup '${options.position.referenceGroup}' does not exist`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user