Skip to content

Commit

Permalink
[fix] dboissier#242 Cannot edit documents
Browse files Browse the repository at this point in the history
  • Loading branch information
cunneen committed Jan 9, 2019
1 parent 012f2ac commit b948e11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private MongoKeyValueDescriptor getObjectIdDescriptorFromSelectedDocument() {
}
MongoKeyValueDescriptor keyValueDescriptor = (MongoKeyValueDescriptor) descriptor;
if (!"_id".equals(keyValueDescriptor.getKey())
|| !(keyValueDescriptor.getValue() instanceof ObjectId)) {
&& !(keyValueDescriptor.getValue() instanceof ObjectId)) {
return null;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<idea-plugin>
<name>Mongo Plugin</name>
<description>Mongo integration for Intellij</description>
<version>0.12.1</version>
<version>0.12.2</version>
<vendor email="david.boissier [at] gmail [dot] com" url="http://codinjutsu.blogspot.com">David Boissier</vendor>

<idea-version since-build="145.0"/>
Expand Down

0 comments on commit b948e11

Please sign in to comment.