Skip to content

Commit

Permalink
Merge pull request #1336 from marmelab/fix_disabling_views
Browse files Browse the repository at this point in the history
[RFR] Fix disabling views
  • Loading branch information
Kmaschta authored Apr 5, 2017
2 parents bfa8e70 + ec0eda1 commit cd64165
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
CHANGELOG
=========
v1.0.5 - 5 Apr. 2017
---------------------

- Fix view disabling not working on initialized views
[\#1334](https://github.com/marmelab/ng-admin/pull/1336)
([floo51](https://github.com/floo51))

v1.0.3 - 3 Apr. 2017
---------------------
Expand Down
3 changes: 1 addition & 2 deletions examples/blog/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@
.baseApiUrl('http://localhost:3000/') // The base API endpoint can be customized by entity
.identifier(nga.field('id')); // you can optionally customize the identifier used in the api ('id' by default)

var tag = nga.entity('tags')
.readOnly(); // a readOnly entity has disabled creation, edition, and deletion views
var tag = nga.entity('tags');

var subCategories = [
{ category: 'tech', label: 'Computers', value: 'computers' },
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-admin",
"version": "1.0.4",
"version": "1.0.5",
"license": "MIT",
"private": false,
"main": "lib/javascripts/ng-admin.js",
Expand All @@ -14,7 +14,7 @@
"lib/"
],
"dependencies": {
"admin-config": "~0.12.1",
"admin-config": "~0.12.2",
"angular": "~1.6.1",
"angular-numeraljs": "^1.1.6",
"angular-sanitize": "^1.3.15",
Expand Down

0 comments on commit cd64165

Please # to comment.