We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4386631 commit eb0a663Copy full SHA for eb0a663
app/components/saved-twiddles-table.js
@@ -4,8 +4,9 @@ import Component from '@ember/component';
4
export default Component.extend({
5
6
filteredModel: filter('model', function(gist) {
7
- return gist.get('files').map(function(file) {
+ let fileNames = gist.get('files').map(function(file) {
8
return file.get('fileName');
9
- }).includes('twiddle.json');
+ });
10
+ return fileNames.any(fileName => /twiddle\\?.json/.test(fileName));
11
})
12
});
0 commit comments