-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1032 from nummi/container-cleanup
Tidy up container tab
- Loading branch information
Showing
8 changed files
with
53 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import { action } from '@ember/object'; | ||
import Controller from '@ember/controller'; | ||
|
||
export default Controller.extend({ | ||
actions: { | ||
sendContainerToConsole() { | ||
this.port.send('objectInspector:sendContainerToConsole'); | ||
} | ||
} | ||
sendContainerToConsole: action(function() { | ||
this.port.send('objectInspector:sendContainerToConsole'); | ||
}) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{{#item-types | ||
header="Types" | ||
setIsDragging=(action "setIsDragging" target=application) | ||
sorted=(readonly sorted) | ||
type="container" | ||
width=180 | ||
}} | ||
<ItemTypes | ||
@header="Types" | ||
@setIsDragging={{action "setIsDragging" target=application}} | ||
@sorted={{readonly sorted}} | ||
@type="container" | ||
@width={{180}} | ||
> | ||
{{outlet}} | ||
{{/item-types}} | ||
</ItemTypes> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{{#item-types | ||
header="Model Types" | ||
setIsDragging=(action "setIsDragging" target=application) | ||
sorted=(readonly (if orderByRecordCount sortByDescCount sortByName)) | ||
type="model" | ||
width=navWidth | ||
}} | ||
<ItemTypes | ||
@header="Model Types" | ||
@setIsDragging={{action "setIsDragging" target=application}} | ||
@sorted={{readonly (if this.orderByRecordCount this.sortByDescCount this.sortByName)}} | ||
@type="model" | ||
@width={{navWidth}} | ||
> | ||
{{outlet}} | ||
{{/item-types}} | ||
</ItemTypes> |